Closed
Bug 26009
Opened 26 years ago
Closed 26 years ago
When scroolbar disappear, background color is different than actual background color.
Categories
(Core :: Layout, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: mgalli, Assigned: troy)
References
()
Details
To reproduce:
Build: 2000013111, win 98,
I am not sure if this is a bug. When the scrollbar disappear, the background
color of the area behind the scrollbar was filled based on Style sheet
definition of the class. This is the minimum (in size) testcase I could code.
See that I have defined red background at the CSS at the top of source code and
green background as style attribute (DIV ... style="...").
No, I think what you see is correct. The green is displayed because of this:
<div id="screen"
style="position:absolute;left:0px;top:0px;background-color:green">
We do what the CSS2 spec says which is size the absolutely positioned element to
the height of the containing block, in this case the "initial containing block".
That's why green is displayed
The way the CSS2 spec is defined it isn't backwards compatible with IE or Nav
4.x which is why the pagfe displays differently in IE
This may get fixed in an update of the CSS2 spec, but for the time being this is
the way it works
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•