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.  ;)

Received on Thursday, 30 October 2008 23:44:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:40 UTC