Re: W3C test html5-014: another space that vanished?

On 3/29/2012 5:14 PM, Eric Muller wrote:
> The input starts with:
>
> <div>&#x5d0; &gt; <bdi>b &gt;&gt;&gt;&#xa0;&#xa0;
>
> and the expected output starts with:
>
> b < &#x5d0;
> >>>
>
> So the test is constructed to produced a linebreak just before the 
> ">>>". On the first line, there is a space after the >, and one after 
> the b. Neither is at the end of the line, so both should remain. 
> Shouldn't there be two spaces between b and <?

Any ruling on that one?

To avoid problems with mailers:

<div>&#x5d0;&#x20;&gt;&#x20;<bdi>b&#x20;&gt;&gt;&gt;&#xa0;&#xa0;

Arguably, the space after the b is, in character order, before a 
linebreak, and should disappear. On the other hand is not visually next 
to a linebreak. I suspect that the question can be rephrased on a 
slightly more compact example:

<div>&#x5d0;<bdi>a&#20;b</bdi>&#x5d1;</div>

Also, how does one apply bidi rule L1 in the case of a <bdi>?

Thanks,
Eric.

Received on Tuesday, 3 April 2012 17:13:10 UTC