W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

[csswg-drafts] [css-text] What are the language-defined segment breaks for HTML? (#5147)

From: Simon Sapin via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Jun 2020 14:40:47 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-629259672-1591108846-sysbot+gh@w3.org>
SimonSapin has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text] What are the language-defined segment breaks for HTML? ==
> Except where specified otherwise, White space processing in CSS affects only the document white space characters: spaces (U+0020), tabs (U+0009), and segment breaks. 

>  CSS does not define document segmentation rules. Segments can be separated by a particular newline sequence (such as a line feed or CRLF pair), or delimited by some other mechanism, such as the SGML RECORD-START and RECORD-END tokens. For CSS processing, each document language–defined segment break and each line feed (U+000A) in the text is treated as a segment break, which is then interpreted for rendering as specified by the white-space property. 

I understand that CSS wants to build abstractions in order to potentially support any document language, but making it the responsibility of those languages to specifically hook into those abstractions is not great as they might… not.

CTRL+F for "segment break" in the single-page version of https://html.spec.whatwg.org/ does not find anything. Does this mean that HTML does not have any language-specific segment break?

If css-text is not the right place to define this normatively it’d be helpful to point this out in a note.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5147 using your GitHub account
Received on Tuesday, 2 June 2020 14:40:50 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:11 UTC