Re: [CSS21] bidi, text-align, and list markers

On Thu, Jun 3, 2010 at 10:02 AM, Phillips, Addison <addison@lab126.com> wrote:
> Aharon wrote:
>> Please note that this is not the same as controlling the list marker
>> location:
>>
>> * hello
>>                                           OLLEH *
>>
>> is not the same as
>>
>> * hello
>> *                                         OLLEH
>>
>> is not the same as
>>
>> * hello
>> * OLLEH
>>
>> is not the same as
>>
>> * hello
>> OLLEH *
>
> For clarity, could you spell out what combination of proposed attributes
> defines each of the above?

The first is
<ul dir=ltr>
  <li>hello</li>
  <li dir=rtl>HELLO</li>
</ul>

The second is
<ul dir=ltr>
  <li>hello</li>
  <li><span dir=rtl>HELLO</span></li>
</ul>
(Actually, because this case is pure rtl text, the span isn't
necessary.  But if there is mixed text that could confuse the bidi
algorithm, such that you want to mark all of it as rtl, you need to
use the span as I have above.)

The third and fourth are the same as the first and second,
respectively, just with the <ul> set to a shrinkwrap width through
some mechanism (such as floating, or being a table cell).

~TJ

Received on Thursday, 3 June 2010 17:12:09 UTC