Re: Note about directionality markup in HTML/XHTML

Hello Martin,

thank you very much for pointing out the HTML "dir" attribute 
inheritance rules. AFAIK we have not adopted these rules in the its:dir 
attribute, and IMO we also should not do this, since the attribute aims 
at XML vocabularies in general. Nevertheless we could point to these 
rules, which would be fine with me.

Felix

Martin Duerst wrote:
> Hello Felix,
>
> This looks good except that there are some (very sensible but
> somewhat complicated) rules about inheritance of dir attributes
> in HTML, which I'm not sure that the its:dir attribute has adopted
> or should adopt.
>
> Regards,    Martin.
>
> At 10:35 07/12/11, Felix Sasaki wrote:
>   
>> Hi all (taking i18n core and i18n ITS into the loop),
>>
>> Andrew Cunningham from the i18n core WG gave some feedback on the BP section on directionality (many thanks!). He said that a statement about the relation of "its:dir" versus directionality markup in HTML 4.01 (and XHTML 1.0) would be helpful. I've tried to come up with something, see below. The paragraph could  probably be a note after "Markup is also occasionally needed to disable the effects of the bidirectional algorithm for a specified range of text." in BP 2.
>>
>> [[
>> In HTML 4.01 [1], there is the "dir" attribute with the values "LTR" or "RTL", and the "bdo" element  with the values "LTR" or "RTL". The semantics of the HTML "dir" attribute values are identical to the "its:dir" attribute values "ltr" or "rtl". The semantics of the HTML "bdo" element with a "dir" attribute are identical to the "its:dir" attribute values "lro" or "rlo". The ITS specification does not propose the "bdo" element, since attribute markup is easier to insert into a document, and one attribute is sufficient to achieve the same effects as the HTML "dir" attribute and the HTML "bdo" element.
>> ]]
>>
>> [1] http://www.w3.org/TR/1999/REC-html401-19991224/struct/dirlang.html#h-8.2
>>
>> Looking forward for feedback.
>>
>> Cheers,
>>
>> Felix
>>
>>
>>     
>
>
> #-#-#  Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
> #-#-#  http://www.sw.it.aoyama.ac.jp       mailto:duerst@it.aoyama.ac.jp     
>
>   

Received on Tuesday, 11 December 2007 06:37:58 UTC