I've modified my very preliminary impl to support the use of xhtml:dir
and have checked in some code [1].  The impl is very rough and designed
only to illustrate the basic behavior I have in mind.

Right now, the code determines the direction of text using the following
steps (in order):

 1. Look for an unprefixed "dir" attribute
 2. Look for the xhtml:dir attribute
 3. Look for any attribute with local-name="dir" and whose
    value looks appropriate (e.g. f:dir="ltr" xmlns:f="urn:foo" )
 4. If not found, iterate up through parent elements

- James

[1] http://tinyurl.com/ydb8uy

James Holderness wrote:
> 
> If you're going to require a separate namespace for bidi support, maybe
> it's best to use XHTML 1.0 and just toss out the lro and rlo values. I
> know I was originally pushing for those to be included, but now that
> I've seen how inconsistent the bdo support is in browsers I think
> they're probably going to be a waste of time. Nobody is going to get
> them right.
> 
> Regards
> James
> 
> 

Reply via email to