* {visibility: hidden}

When you define visibility: hidden on * Explorer Windows and Safari don't show anything ever again.

Test page. Workaround not included.
Reported by Giuseppe Bertone.

Explorer 5-6 Windows, Explorer 7, Safari | Reported on 20 November 2004.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.

Search reports by browser:

Atom RSS


(Add your own)

1 Posted by ppk on 21 November 2004 | Permalink

Come to think of it, I feel that Explorer is right and the other browsers are wrong.

After all, the * selector includes the body, and when the body is invisible none of its child nodes will show up, either.

2 Posted by Philip Hazelden on 23 November 2004 | Permalink

According to the specs, explicity visibilified children of an invisible element should show up:
The generated box is invisible (fully transparent, nothing is drawn), but still affects layout. Furthermore, descendents of the element will be visible if they have 'visibility: visible'."

That certainly seems the logical way to do it, since it allows for greater control.

3 Posted by Wout van der Klip on 25 November 2004 | Permalink

Opera 7.23 doesn't show anything either

4 Posted by ppk on 25 November 2004 | Permalink

Interesting, I didn't know that you could show children of an invisible element.

For completeness' sake I include the relevant link: http://www.w3.org/TR/CSS21/visufx.html#propdef-visibility

5 Posted by Giuseppe Bertone on 26 November 2004 | Permalink

I think it's clearly a IE bug: if I view the test page with IE6 and XP-SP2, the right mouse button is disabled. So I think the parsing engine of IE crashes handling such feature.


6 Posted by ppk on 23 January 2005 | Permalink

Bug also appears in Safari; added this bug report to the Safari category.