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

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

From: Morten Stenshorne <mstensho@opera.com>
Date: Fri, 13 Apr 2012 08:31:27 +0200
To: www-style@w3.org
Message-ID: <871unsi1mo.fsf@aeneas.oslo.osa>
This was on the agenda for the conf call on 2012-04-11, but I cannot
find it being discussed in the minutes. Will it be dealt with next
Wednesday, or should we discuss it here instead?

Morten Stenshorne <mstensho@opera.com> writes:

> The baselines of flexboxes and flexbox items don't seem to be defined in
> the spec, apart from how baseline aligned items line up and how they
> affect the cross size of the flexbox. It doesn't actually say how the
> baselines are calculated.
> I would imagine that the spec should say something analogous to what
> http://www.w3.org/TR/CSS21/tables.html#height-layout has to say for
> tables, table rows and table cells.
> Something like:
> The baseline of a flexbox item is the baseline of the first in-flow line
> box in the item, or the first in-flow table-row, or the first flexbox,
> whichever comes first.
> The baseline of a flexbox is the baseline of the first line in the
> flexbox. The baseline of a flexbox line is the baseline of the
> baseline-aligned items on that line. If no baseline-aligned items exist
> on the line, the line's baseline is the largest cross-end content edge
> value among the items on the line.
> Yes?
> The spec should also mention something about the baseline of flexboxes
> that have their main axis orthogonal to the inline axis. Just use the
> cross-end margin edge of the flexbox?

---- Morten Stenshorne, developer, Opera Software ASA ----
---- Office: +47 23693206 ---- Cellular: +47 93440112 ----
------------------ http://www.opera.com/ -----------------
Received on Friday, 13 April 2012 06:32:00 UTC

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