Closed Bug 171522 Opened 22 years ago Closed 22 years ago

when modifying a transparent IFRAME style to inline, it becomes opaque

Categories

(Core :: Layout, defect, P3)

x86
All
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: cauboin, Assigned: attinasi)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826 using this code: <html> <body onload="javascript:document.getElementById('id2').style.display='inline';"> <div style="position:absolute;left:50px;top:50px;z-index: 1;" id="id1">contenu1</div> <IFRAME style="position:absolute;left:70px;top:50px;z-index: 2;" id="id2" height="100" width="100" frameborder="2" src=""> </body> </html> if there is no onload in the body tag, the IFRAME is transparent.That's OK. But if it executes the onload, the IFRAME is now opaque!!! it should remain transparent. There is a bug! Reproducible: Always Steps to Reproduce: 1.look at the page with and without the onload. It should have the same result but that is not the case 2. 3. Actual Results: with the onload, the IFRAME hides the DIV elt. Without the onload, all is correct: the IFRAME is transparent Expected Results: with or without the onload property, the IFRAME have to be transparent
Attached file the HTML page showing the bug (deleted) —
Confirming bug, 2002-09-27-08 trunk Linux
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Windows XP → All
This seems to be fixed by the patch in bug 171830
Depends on: 171830
Priority: -- → P3
Target Milestone: --- → Future
This got fixed somewhere along the way (even before bug 171830 landed).
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: