W3C home > Mailing lists > Public > www-style@w3.org > June 2010

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

From: Aharon (Vladimir) Lanin <aharon@google.com>
Date: Fri, 4 Jun 2010 14:00:14 +0300
Message-ID: <AANLkTinHUXu194aVoyl5kSmzqWZi2Qdgmte-tgtvktM5@mail.gmail.com>
To: "Phillips, Addison" <addison@lab126.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Ambrose LI <ambrose.li@gmail.com>, Alan Gresley <alan@css-class.com>, fantasai <fantasai.lists@inkedblade.net>, Bert Bos <bert@w3.org>, W3C style mailing list <www-style@w3.org>, Adil Allawi <adil@diwan.com>, "public-i18n-bidi@w3.org" <public-i18n-bidi@w3.org>
> * hello
>                                           OLLEH *

This is what one gets today in IE for <ul dir="ltr"><li>hello</li><li
dir="rtl">HELLO</li></ul>, with default alignment.
In the other browsers, the bullet on the RTL item disappears somehow.
I would say this should be the expected display when the bullet gets its
location from the <li>'s direction.

> * hello
> *                                         OLLEH

This is would be the expected display for the same example as above if the
bullet got its location from the <ul>'s direction.


> * hello
> * OLLEH

This is what one gets today for <ul dir="ltr"><li>hello</li><li><span
dir="rtl">HELLO</span></li></ul>.
It is also what one would get for <ul dir="ltr"
style="text-align:left"><li>hello</li><li dir="rtl">HELLO</li></ul> if the
bullet got its location from the <ul>'s direction. Instead of
text-align:left, one would really use the proposed new text-align value,
what fantasai calls match-parent. (It would definitely work if put on the
<li>s, but would also work on the <ul>, provided its parent is also ltr.)


> * hello
> OLLEH *

This is what one gets today for the same example as above in IE. In Firefox
and Opera the "O" is left-aligned with the "h". In WebKet, the bullet
disappears.
I would say that what Firefox and Opera do should be the expected display
when the bullet gets its location from the <li>'s direction.

Aharon

On Thu, Jun 3, 2010 at 8:02 PM, 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?
>
>
>
> Addison Phillips
>
> Globalization Architect (Lab126)
>
> Chair (W3C I18N, IETF IRI WGs)
>
>
>
> Internationalization is not a feature.
>
> It is an architecture.
>
Received on Friday, 4 June 2010 11:01:10 GMT

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