W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2018

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

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Sun, 28 Jan 2018 12:57:41 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-292202588-1517144260-sysbot+gh@w3.org>
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:
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 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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:23 UTC