Skip to content

Commit 3b50d84

Browse files
committed
1 parent caabacf commit 3b50d84

2 files changed

Lines changed: 85 additions & 101 deletions

File tree

css-text/Overview.bs

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -471,13 +471,13 @@ Languages and Typesetting</h4>
471471
Lines only break at <i>forced line breaks</i>;
472472
content that does not fit within the block container overflows it.
473473
<dt><dfn>nowrap</dfn>
474-
<dd>Like ''white-space:normal'', this value collapses white space;
474+
<dd>Like ''white-space/normal'', this value collapses white space;
475475
but like ''pre'', it does not allow wrapping.
476476
<dt><dfn>pre-wrap</dfn></dt>
477477
<dd>Like ''pre'', this value preserves white space;
478-
but like ''white-space:normal'', it allows wrapping.
478+
but like ''white-space/normal'', it allows wrapping.
479479
<dt><dfn>pre-line</dfn></dt>
480-
<dd>Like ''white-space:normal'', this value collapses consecutive spaces and allows wrapping,
480+
<dd>Like ''white-space/normal'', this value collapses consecutive spaces and allows wrapping,
481481
but preserves <i>segment breaks</i> in the source as <i>forced line breaks</i>.
482482
</dl>
483483

@@ -497,7 +497,7 @@ Languages and Typesetting</h4>
497497
</thead>
498498
<tbody>
499499
<tr>
500-
<th>''white-space:normal''</th>
500+
<th>''white-space/normal''</th>
501501
<td>Collapse</td>
502502
<td>Collapse</td>
503503
<td>Wrap</td>
@@ -530,7 +530,7 @@ Languages and Typesetting</h4>
530530

531531
<p>See <a href="#white-space-processing">White Space Processing Rules</a>
532532
for details on how white space collapses. An informative summary of
533-
collapsing (''white-space:normal'' and ''nowrap'') is presented below:
533+
collapsing (''white-space/normal'' and ''nowrap'') is presented below:
534534
<ul>
535535
<li>A sequence of segment breaks and other white space between two
536536
Chinese, Japanese, or Yi characters collapses into nothing.
@@ -560,7 +560,7 @@ Languages and Typesetting</h4>
560560

561561
<p id="segment-normalization">
562562
CSS does not define document segmentation rules. Segments can be
563-
separated by a particular newline seqence (such as a line feed or
563+
separated by a particular newline sequence (such as a line feed or
564564
CRLF pair), or delimited by some other mechanism, such as the SGML
565565
<code>RECORD-START</code> and <code>RECORD-END</code> tokens.
566566
For CSS processing, each document language&ndash;defined segment break,
@@ -585,6 +585,8 @@ Languages and Typesetting</h4>
585585
<p>Control characters (Unicode class Cc) other than tab (U+0009), line feed
586586
(U+000A), and carriage return (U+000D)
587587
are ignored for the purpose of rendering.
588+
(As required by [[!UNICODE]],
589+
unsupported Default_ignorable characters must also be ignored for rendering.)
588590

589591
<h3 id="white-space-rules">
590592
The White Space Processing Rules</h3>
@@ -602,7 +604,7 @@ Languages and Typesetting</h4>
602604

603605
<ul>
604606
<li id="collapse"><p>If 'white-space' is set to
605-
''white-space:normal'', ''nowrap'', or ''pre-line'',
607+
''white-space/normal'', ''nowrap'', or ''pre-line'',
606608
white space characters are considered <dfn>collapsible</dfn>
607609
and are processed by performing the following steps:</p>
608610
<ol>
@@ -638,7 +640,7 @@ Languages and Typesetting</h4>
638640

639641
<p>where the <code>&lt;ltr&gt;</code> element represents a left-to-right embedding
640642
and the <code>&lt;rtl&gt;</code> element represents a right-to-left embedding.
641-
If the 'white-space' property is set to ''white-space:normal'',
643+
If the 'white-space' property is set to ''white-space/normal'',
642644
the white-space processing model will result in the following:
643645

644646
<ul style="line-height:1.3">
@@ -960,7 +962,7 @@ Line Breaking Details</h3>
960962
<dt>''word-break: break-all''</dt>
961963
<dd>
962964
<pre>这·是·一·些·汉·字,·a·n·d·s·o·m·e·L·a·t·i·n,<!--
963-
-->·&#x0648;·&#pxFB90;·&#xFEE4;·&#xFEF0;·&#xFEE7;·&#xFEEE;·&#xFEB7;·&#xFE98;·&#xFEE6;·&#xFECB;·&#xFEAE;·&#xFE91;·&#xFEF0;,·<!--
965+
-->·&#x0648;·&#xFB90;·&#xFEE4;·&#xFEF0;·&#xFEE7;·&#xFEEE;·&#xFEB7;·&#xFE98;·&#xFEE6;·&#xFECB;·&#xFEAE;·&#xFE91;·&#xFEF0;,·<!--
964966
-->แ·ล·ะ·ตั·ว·อ·ย่·า·ง·ก·า·ร·เ·ขี·ย·น·ภ·า·ษ·า·ไ·ท·ย.</pre>
965967
<dt>''word-break: keep-all''</dt>
966968
<dd>
@@ -2189,7 +2191,7 @@ Word Spacing: the 'word-spacing' property</h3>
21892191
</dl>
21902192

21912193
<p>Non-zero start and end borders/padding between
2192-
a <i>hang</i>eable mark and the edge of the line prevent the mark from hanging.
2194+
a <i>hang</i>able mark and the edge of the line prevent the mark from hanging.
21932195
For example, a period at the end of an inline box with end padding
21942196
does not <i>hang</i> at the end edge of a line.
21952197
At most one punctuation character may <i>hang</i> at each edge of the line.
@@ -2314,7 +2316,7 @@ Bidirectionality and Line Boxes</h3>
23142316
is the LTR "h" from "he". The RTL "שלום!" does precede the "he",
23152317
but it sits in its own bidi-isolated paragraph that is <em>not</em>
23162318
immediately contained by the <code>&lt;para&gt;</code>,
2317-
and is thus irrelevent to the line box's alignment.
2319+
and is thus irrelevant to the line box's alignment.
23182320
From from the standpoint of the bidi paragraph immediately contained
23192321
by the <code>&lt;para&gt;</code> containing block,
23202322
the <code>&lt;quote&gt;</code>&rsquo;s bidi-isolated paragraph inside it is,
@@ -2447,7 +2449,7 @@ Changes</h2>
24472449
<li>Changed the definition of <i>word-separator characters</i>.
24482450
<li>Changed to allow 'letter-spacing' to justify.
24492451
<li>Changed the computed value of ''letter-spacing:normal'' value of 'letter-spacing' and 'word-spacing'.
2450-
<li>Changed the grammer rule of 'text-indent'.
2452+
<li>Changed the grammar rule of 'text-indent'.
24512453
</ul>
24522454

24532455
<p>Significant details updated:

0 commit comments

Comments
 (0)