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

Re: [css3-flexbox] Baseline of flexboxes and flexbox items

From: Daniel Holbert <dholbert@mozilla.com>
Date: Tue, 17 Apr 2012 12:46:46 -0700
Message-ID: <4F8DC8A6.9040905@mozilla.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Morten Stenshorne <mstensho@opera.com>, www-style@w3.org, Alex Mogilevsky <alexmog@microsoft.com>, Ojan Vafai <ojan@chromium.org>, Tony Chang <tony@chromium.org>
On 04/16/2012 03:34 PM, Tab Atkins Jr. wrote:
> On Mon, Apr 16, 2012 at 3:12 PM, Morten Stenshorne <mstensho@opera.com> wrote:
>>> The baseline of a flexbox item is just whatever their display type
>>> says it should be (there's no "flexbox item" display type).
>>
>> That would mean that a flexbox item with e.g. display:block and a
>> flexbox item with display:inline-block would get their baselines
>> calculated differently (first line vs. last line). Do we really want
>> that?
> 
> It's the simplest answer.
[...]
> Ojan, Tony, Alex, Daniel, do you have any particular opinion on this?

I don't have a strong opinion, really -- I haven't implemented
flex-align:baseline yet, so I haven't run up against this yet.

It seems like deferring to the display type would be the most
straightforward, though, implementation-wise.

~Daniel
Received on Tuesday, 17 April 2012 19:47:19 GMT

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