Re: [csswg-drafts] [css-text] Render U+2028 LINE SEPARATOR as a forced line break (#6992)

I tested the rendering of this character in various browsers and editors, for you reference.

-----

In Chromium it is rendered as a box with a cross: <img width="51" alt="chromium" src="https://user-images.githubusercontent.com/2863444/151326901-0d865037-4222-405d-9d19-e9aaa3bcc8b0.png"> (font is Hiragino Kaku Gothic ProN)

In Firefox, Safari, and iCab, it doesn't display at all.

-----

In Visual Studio Code, the editor will emit a warning when it detects this character. See https://github.com/microsoft/vscode/issues/96142

-----

In Atom, it is not rendered. See https://github.com/atom/atom/issues/12157

-----

In Sublime Text 4, it is rendered as `<0x2028>`:

<img width="104" alt="sublime" src="https://user-images.githubusercontent.com/2863444/151326967-22993f11-7d4d-4e12-aa04-8f48f67ac8ec.png">

-----

In [TextEdit](https://en.wikipedia.org/wiki/TextEdit) it is rendered as a forced line break.

-----

In GNU Emacs (27.2) it is rendered as horizontal whitespace instead of a line break, even after enabling [whitespace-mode](https://www.gnu.org/software/emacs/manual/html_node/emacs/Useless-Whitespace.html#index-whitespace_002dmode).

In Vim (8.2) it is the same.

-----

For the applications I tested, only TextEdit renders this character as a newline.

See also:

* https://lists.w3.org/Archives/Public/www-international/2014JulSep/0084.html (some past discussions in this WG)
* https://github.com/whatwg/html/issues/243 (related discussions in the HTML spec)
* https://www.w3.org/TR/unicode-xml/#Line (if you have questions about the status of this document, please see https://github.com/w3c/unicode-xml/issues/28 )

-- 
GitHub Notification of comment by xfq
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6992#issuecomment-1022996247 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 27 January 2022 09:11:07 UTC