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

What bothers me is that:
<p dir="ltr">foo <b><i dir="rtl"
style="margin-left:10px">FOO<br>BAR</i></b>bar<p>

will render differently than:

<p dir="ltr">foo <b dir="rtl"><i
style="margin-left:10px">FOO<br>BAR</i></b>bar<p>

Currently these are identical, and I'm concerned that making them different
would be unintuitive and perhaps confusing.

On the other hand, I do see your point.

--Uri.


On Wed, May 11, 2011 at 20:51, fantasai <fantasai.lists@inkedblade.net>wrote:

> 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 Thursday, 12 May 2011 07:54:05 UTC