Closed
Bug 160947
Opened 23 years ago
Closed 23 years ago
DIV clips child but not child.child when overflow set to hidden
Categories
(Core :: Layout, defect)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: az, Assigned: attinasi)
Details
Attachments
(1 file)
|
362 bytes,
text/html
|
Details |
<div style="position:absolute; top:10px; left:10px; height:100px; width:100px;
background:blue; overflow:hidden;">
<div style="position:absolute; top:10px; left:10px; height:100px;
width:100px; background:green;">
<div style="position:absolute; top:10px; left:10px;
height:100px; width:100px; background:red;">
</div>
</div>
</div>
As far as I understand the spec both the red and green divs should be clipped
because of the blue div having a overflow of 'hidden'. This is the behaviour on
internet explorer. In Mozilla, the green div is clipped, but the red div
overflows. Am I missing something here?
this is the version I'm using:
Mozilla 1.1a
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
I cannot reproduce the problem with that testcase; Mozilla 1.1beta on Win2000.
Could you please retest with a more recent build?
Comment 3•23 years ago
|
||
Mail from Pieter:
Hi Boris
I upgraded to the lates build and the bug is gone!...
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•