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

Re: [css3-flexbox] computed value of "display" on a floated inline-flexbox

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 25 Jan 2012 14:53:30 -0800
Message-ID: <CAAWBYDCfLFYzW3FJvVZ5TVxAh3MPREdSFtZNpQDQuEne7QhTzg@mail.gmail.com>
To: Daniel Holbert <dholbert@mozilla.com>
Cc: "www-style@w3.org list" <www-style@w3.org>
On Wed, Jan 25, 2012 at 2:37 PM, Daniel Holbert <dholbert@mozilla.com> wrote:
> CSS 2.1 section 9.7 says that a floated inline-table gets "display:table"
> and a floated inline-block gets "display:block".
>
> Should the same apply to a floated inline-flexbox?
>
> (Right now, it falls into the default "others":"same as specified" category
> that section.)
>
> Reference:
>  http://www.w3.org/TR/CSS21/visuren.html#dis-pos-flo

Yes, I think so.  A floated inline-flexbox should get "display:flexbox".

When we finally split 'display' into 'display-inside' and
'display-outside', this will be simpler - we'll just say that floating
an element makes 'display-outside' compute to "block", and all the
inline-* variants will just work automatically.

I've changed the spec.  (I need to make the same change to Lists now...)

~TJ
Received on Wednesday, 25 January 2012 22:54:25 GMT

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