[Bug 23260] Make the dir attribute use isolation instead of embedding

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23260

--- Comment #17 from Aharon Lanin <aharon.lists.lanin@gmail.com> ---
The change basically looks good to me, with two exceptions.

1. The "<!-- basically anything that is display:block-like -->" comment should
no longer be on the "unicode-bidi: isolate;" line, since it is talking only
about the list of "block-like" elements at the start of the selector. It does
not apply to the "[dir=ltr i], [dir=rtl i], [dir=auto i]" and "bdi, output"
parts of the selector. Thus, those lines should really look something like this
(if we want to retain comments):

ol, ul, li, <!-- anything that by default has display:block, in case document
gives it display:inline -->
[dir=ltr i], [dir=rtl i], [dir=auto i], <!-- anything with a dir attribute -->
bdi, output <!-- inlines defined as directionally isolated -->
{
  unicode-bidi: isolate;
}

2. When we filed this bug (see above), we speculated that perhaps <bdo
dir="ltr|rtl"> should also be directionally isolated, i.e. given
unicode-bidi:isolate-override instead if the current
unicode-bidi:bidi-override, but noted that this has not been discussed. Since
then, we have discussed this some more in the i18n WG and (I think) feel that
indeed this should be done. The arguments, if I remember correctly, are that it
would make the effects of dir more consistent across different kinds of
elements, and should be helpful (for the exactly the same reasons as it is
helpful on other inline elements) on bdo in its most common use case of
displaying "visual Hebrew" text.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 25 October 2013 02:33:55 UTC