RE: bidirectionality with white-space collapsing

> 2. Also, *if* the required presentation would be achieved by 
> the bidirectional algorithm alone, and without markup that 
> creates a new embedding level, then it is better to omit the 
> directional attribute from the markup or remove the markup 
> altogether (depending on how the markup is used) (which I 
> think was what the CSS spec was trying to say). Eg. a single 
> word in arabic or hebrew in an English sentence usually 
> requires no markup to achieve the correct visual ordering in 
> an XHTML document. You may want to surround it by something 
> like a span element to apply font styling, but you don't need 
> the dir attribute.

... and removing the directionality of the markup would also solve the problem here, whether you tackled the spaces or not.

Received on Wednesday, 10 March 2004 08:07:21 UTC