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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 20 Apr 2012 14:57:52 -0700
Message-ID: <CAAWBYDD5sFM2RdZzgTe+0BML5m6jGS9JYELc3wpBt-6RkU+uQA@mail.gmail.com>
To: Alex Mogilevsky <alexmog@microsoft.com>
Cc: Morten Stenshorne <mstensho@opera.com>, "www-style@w3.org" <www-style@w3.org>, Daniel Holbert <dholbert@mozilla.com>, Ojan Vafai <ojan@chromium.org>, Tony Chang <tony@chromium.org>
I've applied the changes from this thread.

The baseline of a flexbox is now:

1. If any flexbox items in the flexbox's first line (after flex-order
reordering) are baseline-aligned, use that.
2. Otherwise, if it has at least one item, and the baseline of its
first item (after flex-order reordering) is parallel to the main axis,
use that.
3. Otherwise, it's the after inner edge.

Flexbox items have the computed value of 'display' changed by the
table in CSS2.1 Chapter 9.7.  In particular, inline-block now becomes

Received on Friday, 20 April 2012 21:58:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:15 UTC