W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2014

Re: [whatwg] hidden attribute useless with display: flex?

From: David Bruant <bruant.d@gmail.com>
Date: Wed, 30 Apr 2014 13:51:11 +0200
Message-ID: <5360E3AF.8000506@gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: whatwg <whatwg@whatwg.org>
Le 30/04/2014 13:01, Anne van Kesteren a écrit :
>> Le 29/04/2014 23:32, David Bruant a écrit :
>>> Hi,
>>>
>>> // CSS:
>>> div{
>>>    display: flex;
>>> }
>>>
>>> // HTML:
>>> <div hidden></div>
>>>
>>> Per spec, the div should be shown right? I imagine there is no way back on
>>> that?
> We could change the specification to use display-box instead. That might work.
Just read about display-box [1]. (Sorry, I'm lagging behind on CSS 
innovations)
Just to be sure I understand, are you suggesting to change the default 
UA stylesheet from
     *[hidden]{ display: none; }
to
     *[hidden]{ display-box: none; }

Also, what's the intention/implementation status of display-box across 
various browsers?

Thanks,

David

[1] http://dev.w3.org/csswg/css-display-3/#the-display-box
Received on Wednesday, 30 April 2014 11:52:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:28 UTC