Alignment of paragraphs with unicode-bidi: plaintext

As far as I can see, there is no explicit specification in CSS Writing 
Modes Module Level 3 of what effect "unicode-bidi: plaintext" should 
have on the default alignment of paragraphs.

When implementing "unicode-bidi: plaintext" for Gecko, I took it for 
granted that each paragraph in the element would determine its 
directionality by the heuristic in the UBA, and then determine the start 
of the line box depending on the directionality of the paragraph.

I just noticed that recent versions of Chrome behave differently: 
directionality is determined for each paragraph separately, but 
alignment is determined by the first paragraph in the element, and all 
subsequent paragraphs get the same alignment.

As I said, there doesn't seem to be anything in the spec to say which 
approach is correct. I think the behaviour in Gecko is more intuitive 
and useful, but then I would, wouldn't I? Either way, it is probably 
worth adding something to the spec to make it explicit.

Received on Sunday, 30 October 2011 20:29:11 UTC