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

Re: [css-writing-modes] proposed 'writing-mode:sideways-*' values: effect on computed value of 'display'

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 30 Sep 2015 19:00:06 -0400
To: Koji Ishii <kojiishi@gmail.com>, Jonathan Kew <jfkthame@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <560C6976.3000800@inkedblade.net>
On 08/21/2015 11:22 AM, Koji Ishii wrote:
> On Fri, Aug 21, 2015 at 4:55 AM, Jonathan Kew <jfkthame@gmail.com <mailto:jfkthame@gmail.com>> wrote:
>     The current Writing Modes draft says:
>     # If a box has a different block flow direction than its containing block:
>     #
>     #    If the box has a specified display of inline, its display computes to inline-block. [CSS21]
>     #    If the box has a specified display of run-in, its display computes to block. [CSS21]
>     #    If the box is a block container, then it establishes a new block formatting context.
>     How (if at all) will this change if the proposal to introduce writing-mode:sideways-lr and sideways-rl values is adopted?
>     I'm assuming we'll go for something along the lines of:
>     # If a box has a different computed value for writing-mode than its containing block, .....
>     so that in an example like:
>        <div style="writing-mode:vertical-lr">Hello World
>          <span style="writing-mode:sideways-lr">foo bar</span>
>        </div>
>     the <span>'s display will compute to 'inline-block' rather than 'inline'. Is this correct?
> I agree, and I agree the text should change to as proposed to clarify that.

I've updated the spec to trigger on a parent with a different 'writing-mode'.
Let me know if this is correct.

Received on Wednesday, 30 September 2015 23:30:59 UTC

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