Closed
Bug 5437
Opened 25 years ago
Closed 25 years ago
iframe/frame visibility:hidden not working
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: karnaze, Assigned: karnaze)
Details
This is Eric's example. I'm opening a bug to have an audit trail. The <IFRAME> is showing up even though the visibility is hidden. <html><head></head><body> <html> <head> <script> function show() { document.getElementById("div1").setAttribute("value","visible"); } function hide() { document.getElementById("div1").setAttribute("value","hidden"); } </script> <style> div[id="div1"][value="hidden"] { background-color: blue; visibility: hidden; } div[id="div1"][value="visible"] { background-color: red; } </style> </head> <body> <div id="div1" value="hidden"> this is text <button> foo </button> <iframe src="http://www.yahoo.com"> </div> <button onclick="show(this)">show</button> <button onclick="hide(this)">hide</button> </body> </html>
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 1•25 years ago
|
||
marking verified using 1999042608 build
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•