iframe/frame visibility:hidden not working

VERIFIED FIXED

Status

()

P3
normal
VERIFIED FIXED
20 years ago
20 days ago

People

(Reporter: karnaze, Assigned: karnaze)

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

20 years ago
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

20 years ago
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED

Updated

20 years ago
Status: RESOLVED → VERIFIED

Comment 1

20 years ago
marking verified using 1999042608 build

Updated

12 years ago

Updated

23 days ago
Product: Core → Core Graveyard
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.