You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -601,8 +602,16 @@ Languages and Typesetting</h4>
601
602
<h3 id="white-space-rules">
602
603
The White Space Processing Rules</h3>
603
604
604
-
<p>White space processing affects only spaces (U+0020), tabs (U+0009),
605
-
and <a href="#segment-normalization">segment breaks</a>.
605
+
<p>White space processing in CSS affects only
606
+
the <dfn export title="white space|white space characters| document white space|document white space characters">document white space characters</dfn>:
607
+
spaces (U+0020), tabs (U+0009), and <a href="#white-space-processing">segment breaks</a>.
608
+
609
+
<p class="note">
610
+
Note that the set of characters considered <i>document white space</i> (part of the document content)
611
+
and that considered syntactic white space (part of the CSS syntax)
612
+
are not necessarily identical.
613
+
However, since both include spaces (U+0020), tabs (U+0009), line feeds (U+000A), and carriage returns (U+000D)
614
+
most authors won't notice any differences.
606
615
607
616
<h4 id="white-space-phase-1">Phase I: Collapsing and Transformation</h4>
608
617
@@ -615,12 +624,12 @@ Languages and Typesetting</h4>
615
624
<ul>
616
625
<li id="collapse"><p>If 'white-space' is set to
617
626
''white-space/normal'', ''nowrap'', or ''pre-line'',
618
-
white space characters are considered <dfn>collapsible</dfn>
627
+
white space characters are considered <dfn export title="collapsible white space|collapsible">collapsible</dfn>
619
628
and are processed by performing the following steps:</p>
620
629
<ol>
621
630
<li>All spaces and tabs immediately preceding or following a segment
622
631
break are removed.</li>
623
-
<li>Segment breaks are transformed for
632
+
<li><i>Segment breaks</i> are transformed for
624
633
rendering according to the <a href="#line-break-transform">segment break transformation rules</a>.
625
634
</li>
626
635
<li>Every tab is converted to a space (U+0020).</li>
0 commit comments