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

Re: [css3-flexbox][css3-grid] Inline replaced elements as grid items and flexbox items

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 13 May 2011 21:18:26 -0700
Message-ID: <BANLkTinkO_coArJN3ZYFswCTHEe7n_VtFA@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: Alex Mogilevsky <alexmog@microsoft.com>, David Hyatt <hyatt@apple.com>, www-style@w3.org
On Fri, May 13, 2011 at 7:33 PM, Andrew Fedoniouk
<andrew.fedoniouk@live.com> wrote:
>> -----Original Message----- From: Alex Mogilevsky
>> So that is the reasoning that brought us to accepting replaced inline
>> blocks as flexbox items. We initially suggested that any inline blocks
>> should work, what we have is a compromise, but if we wean to revisit the
>> decision I would again suggest that inline blocks are included for
>> consistency...
>>
>
> As <button>,<img>,<textarea>,etc. are display:inline-block
> elements then how about these rules:
>
> 1. To treat all display:block, table, inline-block, list-item elements as
>  flex boxes. display:inline and text content will be wrapped into
>  boxes.

They're display:inline, for legacy reasons that can't be changed now.
If they were 'inline-block' we wouldn't be having this discussion, as
the answer would obviously be exactly what you just said.

~TJ
Received on Saturday, 14 May 2011 04:19:14 GMT

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