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

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 UTC