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

Re: [csswg-drafts] [css-text][css-sizing] When to/not to include preserved trailing spaces (#3440)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 Feb 2019 07:46:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-465896043-1550735187-sysbot+gh@w3.org>
Other than the effect on line-breaks and tabs in the source, pre-wrap will also preserve the (single) space between each word at the end of the line, which normal won't do. That can already be observed if you underline the text. With normal, the end of line space is gone, so it is not underlined, but with pre-wrap it is there, so it is underlined.

This sort of things makes me think that using pre-wrap for long form text is probably not ideal.

pre-wrap on editable areas does make sense, but these are rarely justified, I think?

Anyway, I am not strongly opposed, but the argument that line start and line end should be symetrical, and that we should be consistent with other types of alignments also makes sense to me. Since this is more about an exception to the general rule than disagreement about the general rule, I think we should probably open a new issue.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3440#issuecomment-465896043 using your GitHub account
Received on Thursday, 21 February 2019 07:46:29 UTC

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