W3C home > Mailing lists > Public > public-i18n-core@w3.org > January to March 2008

Re: dir attribute in HTML 5

From: Felix Sasaki <fsasaki@w3.org>
Date: Wed, 30 Jan 2008 08:05:44 +0900
Message-ID: <479FB148.60409@w3.org>
To: Najib Tounsi <ntounsi@emi.ac.ma>
CC: public-i18n-core@w3.org

Hi Najib, all,

Najib Tounsi wrote:
> Hi Felix, all
>
> Felix Sasaki wrote:
>>
>> Hi all,
>>
>> I had a look at
>> http://www.w3.org/TR/2008/WD-html5-20080122/#the-dir
>> were it says
>> "The processing of this attribute depends on the presentation layer. 
>> For example, CSS 2.1 defines a mapping from this attribute to the CSS 
>> 'direction' and 'unicode-bidi' properties, and defines rendering in 
>> terms of those properties."
>> This is quite different to HTML 4
>> http://www.w3.org/TR/REC-html40/struct/dirlang.html#adef-dir
>> which contains references for implementers of the Unicode BIDI 
>> algorithm, 
>
> Reference to the Bidi algorithm is put at the bdo description:
> http://www.w3.org/TR/2008/WD-html5-20080122/#bdo

thanks for checking, I had missed that. We still might ask them to have 
the reference also within the description of the "dir" attribute.

>
> "The bdo element allows authors to override the Unicode bidi algorithm 
> by explicitly specifying a direction override. [BIDI]"
>
> 4 paragraphs later, "The requirements on handling the bdo  element for 
> the bidi algorithm may be implemented indirectly through the style 
> layer."
> It is not clear what do they mean here.

 From my understanding, HTML 5 mainly formulates restrictions on its two 
serializations (or rather says "there are two serializations, XML and 
HTML"), describes properties of a common DOM which can be generation 
from these serializations, and an algorithm for
the generation process. However, HTML 5 does not formulate restrictions 
on the *rendering* of the DOM. CSS and HTML 5 seem to be rather 
separate, and so are normative statements on rendering issues.

Since the rendering of HTML documents is rather important for many i18n 
areas, we might to ask the HTML Working Group for a general 
clarification about this.

Felix
Received on Tuesday, 29 January 2008 23:06:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 October 2008 10:18:53 GMT