[csswg-drafts] [css-text] Incorrect statement on normalization of newlines (#9226)

yarusome has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text] Incorrect statement on normalization of newlines ==
In [4. White Space Processing & Control Characters](https://drafts.csswg.org/css-text/#white-space-processing) (emphases mine):

> In the case of HTML, each [newline ***sequence*** is normalized](https://html.spec.whatwg.org/multipage/syntax.html#newlines) to a ***single*** line feed (U+000A) for representation in the DOM,[…]

However, [Infra](https://infra.spec.whatwg.org/#normalize-newlines) states that:

> To **normalize newlines** in a string, replace every U+000D CR U+000A LF code point pair with a single U+000A LF code point, and then replace every remaining U+000D CR code point with a U+000A LF code point.

which implies that a sequence of newlines is converted into a *sequence* of line feeds.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9226 using your GitHub account


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

Received on Wednesday, 23 August 2023 04:52:05 UTC