W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css3-flexbox] Fixing the "replaced elements may or may not be inline" issue

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 16 May 2012 17:10:07 -0700
Message-ID: <CAAWBYDCKE5Ftd4U7-_qY+E+UgKKgrq+Zm4__QXd9cujyjWZxYQ@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
On Wed, May 16, 2012 at 5:01 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> An alternative would be to define a 'flex-item' value for 'display',
> and make it compute to 'inline' except on children of a flex container.
> Then you can assign 'display: flex-item' to those elements in ua.css.
>
> (As an additional benefit, you could make the computed 'display' of
> block container flex items start returning 'flex-item' now, instead
> of changing it in the future.)

I think it would be pretty weird to have the default UA stylesheet set
all the replaced elements to "display:flex-item" apropos of nothing.

~TJ
Received on Thursday, 17 May 2012 00:10:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT