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

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:44:08 UTC