- From: Richard Ishida <ishida@w3.org>
- Date: Tue, 08 May 2012 14:07:52 +0100
- To: "public-i18n-core@w3.org" <public-i18n-core@w3.org>
On 05/04/2012 08:52 AM, Richard Ishida wrote: I've been niggled for a while now by the asymmetry of the bidi contructs we have in html5, and the more I look at our html5 recommendations, the more it seems to me that the bdi element is really not the most simple way to do isolation when you know the direction of text. For example <p>ltr-text <cite><bdi dir=rtl>RTL-TEXT</bdi></cite><__/p> is convoluted and verbose. It also allows the possibility of introducing unwanted spaces between the element tags when pretty-printing code or other editorial operations. It seems to me that, for the situations where we know the direction in particular, it would have been easier to simply invent two new values for the dir attribute: rtli and ltri. ===================== On Fri, May 4, 2012 at 6:57 PM, fantasai <fantasai@inkedblade.net <mailto:fantasai@inkedblade.net>> wrote: I like it! ~fantasai ===================== On 06 May 2012 12:43:47 +0300, Aharon (Vladimir) Lanin wrote: No, we never considered it. Yes, it does have some things going for it. Keep in mind, though, that when we asked the HTMLWG for isolation in HTML, we asked for a new attribute. They decided that they liked a new element better. Another thing is that this may conflict with an element-based approach. That is, if dir="ltri" means {unicode-bidi:isolate; direction:ltr}, but dir="ltr" means {unicode-bidi:embed; direction:ltr}, it seems strange that <output dir="ltr"> nevertheless uses unicode-bidi:isolate. Aharon
Received on Tuesday, 8 May 2012 13:08:29 UTC