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

Re: [css3-writing-modes] height:auto with orthogonal flows

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 21 Sep 2011 17:15:11 -0700
Message-ID: <CAAWBYDBTakege=dHA79Hjqp9jwo9_2T2=96ESSATuHq-TFWXcw@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: www-style@w3.org, David Hyatt <hyatt@apple.com>
On Wed, Sep 21, 2011 at 3:22 PM, Ojan Vafai <ojan@chromium.org> wrote:
> 2. "7.3.1. Auto-sizing in Orthogonal Flows
> If the computed measure of an element establishing an orthogonal flow is
> ‘auto’, then the used measure is calculated as
> the fit-content (shrink-to-fit) size using the initial containing block's
> size as the available measure."
> We should instead use the available size if there is one and only use the
> initial containing block's size if there isn't one.
> <div style="height: 100px">
>     <div style="writing-mode: vertical-lr; height: 100%"></div>
> </div>
> Using the initial containing block's size as the spec currently says to
> would result in the inner div overflowing outside of the outer div. It seems
> clear to me that any developer would expect the inner div to be 100px tall.

Agreed.

~TJ
Received on Thursday, 22 September 2011 00:16:00 GMT

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