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

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