#35676 [Opn->Bgs]: CSS overflow disappears unless error reporting is triggered
| From: | alan_k@php.net | Date: | Thu, 15 Dec 2005 08:16:38 +0000 |
| Subject: | #35676 [Opn->Bgs]: CSS overflow disappears unless error reporting is triggered | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90453@lists.php.net to get a copy of this message | ||
ID: 35676
Updated by: alan_k@php.net
Reported By: jhala at uoregon dot edu
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows Server 2003
PHP Version: 5.1.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2005-12-15 08:57:56] jhala at uoregon dot edu
Description:
------------
I have a span tag in a table cell that is setup with:
style="width:382; height:200; overflow:scroll;"
It was displaying as expected in IE 6.029... while I had E_ALL set in
php.ini AND I had at least one "Notice" or other error displaying at
the top of the page. When I addressed the "Notice"-related problem or
set error reporting to E_ERROR, the scrollbars would disappear. The
"Notice" in particular that I observed was any improperly defined
variable, including variables I made up just to trigger the notice that
didn't have any impact on the rest of the code. I tried to make the
scrollbar appear by echoing or printing text from the <? ?> section
preceding the <html> tag (thinking perhaps it was some wierd
positioning issue or something) but this did not have the same effect.
Reproduce code:
---------------
<? if( $testtest == 1 ) { print( "hyah" ); } ?>
<html><body style="margin:0;">
<form method="post" action="url.html">
<table width="756" border="3" frame="void" align="left"
cellpadding="0"
cellspacing="0" style="margin:0;">
<tr><td align="left" valign="top">
<table border="3" frame="void" cellpadding="0"
cellspacing="0"
style="margin:0px">
<tr><td width="371" height="167" align="left">
<textarea cols="58" rows="10">test</textarea>
</td>
<td valign="top" width="382" height="200" rowspan="3">
<span style="width:382; height:200; overflow:scroll;">
</span></td></td><tr><td align="right"
height="24">
<input type="hidden" name="dummy" value="1" />
<input type="submit" name="Submit" value="Submit" />
</td></tr><tr><td></td></tr>
<table></td></tr></table></form></body></html>
Expected result:
----------------
I should be able to clear up all notices and other warning messages and
still have the overflow scrollbars display correctly. I have it set to
"scroll" instead of "auto" for troubleshooting purposes, but it ought
to work correctly with "auto" as well.
Actual result:
--------------
The reproduce code box will contain the minimal relevant HTML and CSS
code that I used to hopefully recreate the situation. Commenting out
the PHP "if" statement OR turning error reporting off should make the
scrollbars disappear, otherwise they should be there.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35676&edit=1