W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

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

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Tue, 23 Apr 2019 08:25:16 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-436060115-1556007914-sysbot+gh@w3.org>
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

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