[csswg-drafts] [css-text] pre-wrap and tabs at the end of the line (#3869)

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

== [css-text] pre-wrap and tabs at the end of the line ==
The spec doesn't say what happens to preserved tabs at the end of the line in the modes where wrapping is allowed (`pre-wrap` and `break-spaces`).

* For pre-wrap, based on testing, they should be handled like preserved spaces in the same situation: become part of the unbreakable sequence of tabs and spaces (and ideographic spaces) that hangs and that has a wrapping opportunity at the end of it.

* for `break-spaces`, the value is new enough that interop data isn't very meaningful, but I'd suggest being consistent and also doing the same thing as preserved spaces: cannot hang, wrap opportunity after every preserved tab, plus a wrap opportunity between the last letter of a word and the tab that imediately follows it if `line-break` is `anywhere`.

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

Received on Tuesday, 23 April 2019 08:25:18 UTC