James Holderness wrote:
> 
>> The attribute is optional and has three possible values, "ltr",
>> "rtl" and "" (representing 'unspecified').  If the attribute is missing,
> 
> How about also allowing the values "lro" and "rlo" as used in xhtml2. [1]
> 

Yeah, I'm just not yet sure whether these are strictly necessary.  We
need to explore this.

>> Any element defined by this specification MAY have a "dir" attribute
>> whose content specifies the base direction of directionally-neutral text
> 
> I was looking through the various Atom elements that this might apply to
> and the one thing that struck me as problematic was the atom:category
> element. Would the dir attribute apply to the term, the label, both,
> neither? Is that one of the cases where you should just use unicode
> control characters?
> 

The dir should only ever impact Language-Sensitive elements and
attributes so term would not be affected but label would be.

> Perhaps it would be better to limit the dir attribute to element content
> in general. Even for elements that only have one "text" attribute, you
> can never be sure that other attributes won't be added in the future.
> For example in atom:link you would think the direction would
> unambiguously apply to the title attribute, but say a future revision or
> extension added a description attribute - suddenly it's not so obvious
> anymore.
> 

If the new attribute is Language-Sensitive then dir would apply.

- James

Reply via email to