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

Re: [css3-writing-modes] auto logical width in orthogonal flows

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 6 Mar 2011 18:53:43 -0800
To: Koji Ishii <kojiishi@gluesoft.co.jp>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20110307025343.GA12333@pickering.dbaron.org>
On Thursday 2011-01-06 04:09 -0500, Koji Ishii wrote:
> There's a few e-mails going on in Japanese ML about 'auto' logical width in orthogonal flows, the issue mentioned in writing modes spec[1]. One person preferred 100vh option, but I'd like to understand the results of each option better.
> 
> <div id="A" style='width: 300px; writing-mode: horizontal-tb;'>
>   AAA
>   <div id="B" style='writing-mode: vertical-rl;'>BBB</div>
>   CCC
> </div>
> 
> B has 'auto' logical width here, so the actual height will be:
> * max-content-size: the height of the string "BBB"
> * 100vh: the height of the viewport, so there will be vertical scroll
> * same logical width: 300px

There's a fourth option, which I described here:
http://lists.w3.org/Archives/Public/www-style/2009Nov/0286.html

It works out to the height of the viewport (100vh) in some cases,
but will produce other heights when there's a constrained-height
element in-between.  I think it's preferable to the 100vh option.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 7 March 2011 02:54:14 GMT

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