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

[csswg-drafts] [css-pseudo-4] Should ::selection select hard wrap (or hard return) line break <br>? (#4460)

From: Gérard Talbot via GitHub <sysbot+gh@w3.org>
Date: Mon, 28 Oct 2019 16:56:24 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-513431413-1572281783-sysbot+gh@w3.org>
TalbotG has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-pseudo-4] Should ::selection select hard wrap (or hard return) line break <br>? ==
Test:
http://www.gtalbot.org/BrowserBugsSection/CSS4Pseudo/active-selection-026.html

Reference:
http://www.gtalbot.org/BrowserBugsSection/CSS4Pseudo/active-selection-026-ref.html

Chromium project's feedback:
https://bugs.chromium.org/p/chromium/issues/detail?id=1018465#c3

Just my opinion: ::selection should not select hard wrap line break. If a `<br>` is nothing more than a carriage return (CR: 0x0D) and a line feed (LF: 0x0A) (both non-printable characters), then I do not see why a `<br>` should be painted.

Either way, I think the current specification should be explicit on this issue since Chrome and Firefox disagree.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4460 using your GitHub account
Received on Monday, 28 October 2019 16:56:26 UTC

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