[csswg-drafts] [css-text-3][CSS2] bidi white space collapsing, with bidi control characters

frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text-3][CSS2] bidi white space collapsing, with bidi control characters ==
[CSS2](https://www.w3.org/TR/CSS2/text.html#white-space-model) (and also [CSS-TEXT-3](https://drafts.csswg.org/css-text-3/#white-space-phase-1)) is pretty clear about how control characters should be processed when doing white space collapsing:

> For each inline element (including anonymous inline elements), the following steps are performed, **treating bidi formatting characters as if they were not there**: 
> ...

However, it seems that all browsers agree not to do that:

They do it correctly when the bidi situation is caused by markup/properties, but not when it comes from bidi control characters.

This causes https://github.com/w3c/web-platform-tests/issues/5460

We need either to fix the specs or to fix the browsers. Browsers all behaving the same makes me doubt changing this is web compatible, but bidi or i18n experts should chime in about how important this is.

@fantasai, what do you think?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2233 using your GitHub account

Received on Sunday, 28 January 2018 12:57:49 UTC