-
Notifications
You must be signed in to change notification settings - Fork 756
Description
CSS2 (and also CSS-TEXT-3) 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:
http://jsbin.com/locakid/edit?html,output
They do it correctly when the bidi situation is caused by markup/properties, but not when it comes from bidi control characters.
This causes web-platform-tests/wpt#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?