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

Re: [CSS21] [css3-writing-modes] We got the bidi box model backwards

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 11 May 2011 10:51:07 -0700
Message-ID: <4DCACC8B.3090901@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
CC: "public-i18n-bidi@w3.org" <public-i18n-bidi@w3.org>
On 05/11/2011 05:18 AM, Uri Bernstein wrote:
> This seems reasonable to me.
> One question - do you literally mean "the element's parent's direction",
> or do you actually mean "the element's containing block's direction"?
> I think the latter makes more sense.

I do actually mean the element's parent's direction. If you consider the
spacing example again, using another level of nesting, you'll see that
using the containing block's direction would result in the same problem
again when you get to the second level of nesting:

   |Here is some text   AND HERE IS MY  [ ๐‘ž๐‘ข๐‘œ๐‘ก๐‘’ ๐‘กโ„Ž๐‘Ž๐‘ก|
   |๐‘๐‘œ๐‘›๐‘ก๐‘–๐‘›๐‘ข๐‘’๐‘  ]  ON THE LINE   and my text          |
   |continues.                                      |

Using containing block:

   |Here is some text      ๐‘ž๐‘ข๐‘œ๐‘ก๐‘’ ๐‘กโ„Ž๐‘Ž๐‘ก YM SI EREH DNA|
   |ENIL EHT NO ๐‘๐‘œ๐‘›๐‘ก๐‘–๐‘›๐‘ข๐‘’๐‘       and my text          |
   |continues.                                      |

Using parent element:

   |Here is some text   ๐‘ž๐‘ข๐‘œ๐‘ก๐‘’ ๐‘กโ„Ž๐‘Ž๐‘ก   YM SI EREH DNA|
   |ENIL EHT NO    ๐‘๐‘œ๐‘›๐‘ก๐‘–๐‘›๐‘ข๐‘’๐‘    and my text         |
   |continues.                                      |

~fantasai
Received on Wednesday, 11 May 2011 17:54:32 GMT

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