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)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: az, Assigned: attinasi)

Details

Attachments

(1 file)

<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
Attached file Testcase
I cannot reproduce the problem with that testcase; Mozilla 1.1beta on Win2000. Could you please retest with a more recent build?
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
best way to get rid of bugs :)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: