Skip to content

Commit aceecbc

Browse files
committed
[css-text-3] Tentative commits for #855.
1 parent 47506c7 commit aceecbc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

css-text-3/Overview.bs

+7-3
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,8 @@ Languages and Typesetting</h4>
428428
in order to minimize inline-axis overflow.
429429
<dt><dfn>pre</dfn></dt>
430430
<dd>This value prevents user agents from collapsing sequences of <a>white space</a>.
431-
<a>Segment breaks</a> such as line feeds and carriage returns are preserved as <a>forced line breaks</a>.
431+
<a>Segment breaks</a> such as line feeds
432+
are preserved as <a>forced line breaks</a>.
432433
Lines only break at <a>forced line breaks</a>;
433434
content that does not fit within the block container overflows it.
434435
<dt><dfn>nowrap</dfn>
@@ -524,8 +525,8 @@ Languages and Typesetting</h4>
524525
separated by a particular newline sequence (such as a line feed or
525526
CRLF pair), or delimited by some other mechanism, such as the SGML
526527
<code>RECORD-START</code> and <code>RECORD-END</code> tokens.
527-
For CSS processing, each document language&ndash;defined segment break,
528-
CRLF sequence (U+000D U+000A), carriage return (U+000D), and line feed (U+000A)
528+
For CSS processing, each document language&ndash;defined segment break
529+
and each line feed (U+000A)
529530
in the text is treated as a <dfn export>segment break</dfn>,
530531
which is then interpreted for rendering as specified by the 'white-space' property.
531532

@@ -546,6 +547,9 @@ Languages and Typesetting</h4>
546547
<a href="https://www.w3.org/TR/CSS21/visuren.html#anonymous">9.2.2.1</a></p>
547548

548549
<p>
550+
Form feeds (U+000C) and carriage returns (U+000D)
551+
(that are not <a>segment breaks</a>)
552+
are <span class="issue">not rendered | rendered as a zero-width space</span>.
549553
Control characters (<a>Unicode category</a> <code>Cc</code>)
550554
other than tab (U+0009), line feed (U+000A), form feed (U+000C), and carriage return (U+000D)
551555
must be rendered as a visible glyph

0 commit comments

Comments
 (0)