W3C home > Mailing lists > Public > www-style@w3.org > October 2008

Re: Selectors Tests

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 30 Oct 2008 16:43:54 -0700
Message-ID: <490A46BA.2060201@mit.edu>
To: Boris Zbarsky <bzbarsky@mit.edu>
CC: www-style <www-style@w3.org>

Boris Zbarsky wrote:
> I have no idea.  In Gecko, hidden inputs basically have a UA 
> "display:none!important"

I lie.  We actually treat them as having non-!important "display: none", 
and you can in fact get things like this:

data:text/html,<style>input:before { content: 'a'; }</style><input 
type="hidden" style="display:block">

to show text.  No clue what we do with focus in that case.  ;)

-Boris
Received on Thursday, 30 October 2008 23:44:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:15 GMT