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

Re: [css3-flexbox] Flexbox baseline when overflow is non-visible

From: Morten Stenshorne <mstensho@opera.com>
Date: Thu, 06 Sep 2012 12:35:53 +0200
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style@w3.org
Message-ID: <87sjavsak6.fsf@aeneas.oslo.osa>
"Tab Atkins Jr." <jackalmage@gmail.com> writes:

> On Tue, Aug 14, 2012 at 12:14 PM, Morten Stenshorne <mstensho@opera.com> wrote:
>> http://dev.w3.org/csswg/css3-flexbox/#flex-baselines
>>
>> I cannot find any mention of what to do for flexboxes with non-visible
>> overflow in the flexbox spec. CSS 2.1, on the other hand, says that if
>> an inline-block has non-visible overflow, its baseline is its bottom
>> margin edge. Wouldn't it make sense to do the same for inline-flex? What
>> if the relevant item's baseline is in the overflowed area of its flex
>> container?
>
> Per WG discussion on today's telcon, we decided to go a different
> route.  Authors are routinely confused by the inline-block behavior,
> so copying it didn't seem like a good idea.
>
> Instead, we'll calculate baseline as normal, regardless of overflow,
> but if the element is scrollable, it must be treated as if it's at its
> initial scroll position for this calculation.
>
> Is this acceptable?  You can review the proposed edit in the current draft.

Looks fine to me. Thanks for the clarification.

What's the latest status regarding the plans about going CR, BTW?

-- 
---- Morten Stenshorne, developer, Opera Software ASA ----
---- Office: +47 23692400 ------ Mobile: +47 93440112 ----
------------------ http://www.opera.com/ -----------------
Received on Thursday, 6 September 2012 10:36:20 GMT

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