Skip to content

Commit d25f7d7

Browse files
committed
[css-text-4] Fix Bikeshed errors
1 parent d473b45 commit d25f7d7

File tree

2 files changed

+236
-227
lines changed

2 files changed

+236
-227
lines changed

css-text-3/Overview.bs

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,7 +1441,7 @@ White Space and Wrapping: the 'white-space' property</h2>
14411441
<td>No wrap
14421442

14431443
<tr>
1444-
<th>''nowrap''
1444+
<th>''white-space/nowrap''
14451445
<td>Collapse
14461446
<td>Collapse
14471447
<td>No wrap
@@ -1477,7 +1477,7 @@ White Space and Wrapping: the 'white-space' property</h2>
14771477
for details on how [=white space=] collapses.
14781478

14791479
<!-- This is part of segment break transformation
1480-
An informative summary of collapsing (''white-space/normal'' and ''nowrap'') is presented below:
1480+
An informative summary of collapsing (''white-space/normal'' and ''white-space/nowrap'') is presented below:
14811481
<ul class=non-normative>
14821482
<li>
14831483
A sequence of segment breaks and other [=white space=]
@@ -1790,7 +1790,7 @@ Phase I: Collapsing and Transformation</h4>
17901790

17911791
<ul>
17921792
<li id="collapse">
1793-
If 'white-space' is set to ''white-space/normal'', ''nowrap'', or ''pre-line'',
1793+
If 'white-space' is set to ''white-space/normal'', ''white-space/nowrap'', or ''pre-line'',
17941794
[=white space characters=] are considered <dfn export lt="collapsible white space" local-lt="collapsible">collapsible</dfn>
17951795
and are processed by performing the following steps:
17961796

@@ -2108,7 +2108,7 @@ Phase II: Trimming and Positioning</h4>
21082108
of [=collapsible=] [=spaces=]
21092109
is removed,
21102110
as well as any trailing U+1680 &#x1680; OGHAM SPACE MARK
2111-
whose 'white-space' property is ''white-space/normal'', ''nowrap'', or ''pre-line''.
2111+
whose 'white-space' property is ''white-space/normal'', ''white-space/nowrap'', or ''pre-line''.
21122112

21132113
<wpt>
21142114
white-space/line-edge-white-space-collapse-001.html
@@ -3876,7 +3876,7 @@ Line Breaking Strictness: the 'line-break' property</h3>
38763876
(''white-space/normal'', ''white-space/pre-line'')
38773877

38783878
<li>
3879-
wrapping is forbidden altogether (''nowrap'', ''pre'')
3879+
wrapping is forbidden altogether (''white-space/nowrap'', ''pre'')
38803880

38813881
<li>
38823882
the [=preserved white space=] [=hang=] (''pre-wrap'').
@@ -4802,7 +4802,7 @@ Text Alignment: the 'text-align' shorthand</h3>
48024802
Unless otherwise specified by 'text-align-last',
48034803
the last line before a forced break
48044804
or the end of the block
4805-
is ''start''-aligned.
4805+
is ''text-align/start''-aligned.
48064806

48074807
<wpt>
48084808
text-align/text-align-justify-001.html
@@ -4850,12 +4850,14 @@ Text Alignment: the 'text-align' shorthand</h3>
48504850
<dd>
48514851
This value behaves the same as ''inherit''
48524852
(computes to its parent’s computed value)
4853-
except that an [=inherited value=] of ''start'' or ''end''
4853+
except that an [=inherited value=] of
4854+
''text-align/start'' or ''text-align/end''
48544855
is interpreted against the parent’s
48554856
(or the [=initial containing block=]’s,
48564857
if there is no parent)
48574858
'direction' value
4858-
and results in a computed value of either 'left' or 'right'.
4859+
and results in a computed value of either
4860+
''text-align/left'' or ''text-align/right''.
48594861
When specified on the 'text-align' shorthand,
48604862
sets both 'text-align-all' and 'text-align-last' to ''text-align/match-parent''.
48614863

@@ -5338,7 +5340,7 @@ Unexpandable Text</h4>
53385340
If the inline contents of a line cannot be stretched to the full width of the line box,
53395341
then they must be aligned as specified by the 'text-align-last' property.
53405342
(If 'text-align-last' is ''justify'',
5341-
then they must be aligned as for ''center''.)
5343+
then they must be aligned as for ''text-align/center''.)
53425344

53435345
<wpt>
53445346
text-align/text-align-last-empty-inline.html
@@ -6428,7 +6430,7 @@ First Line Indentation: the 'text-indent' property</h3>
64286430
</dl>
64296431

64306432
<div class="example">
6431-
<p>If 'text-align' is ''start'' and 'text-indent' is ''5em'' in
6433+
<p>If 'text-align' is ''text-align/start'' and 'text-indent' is ''5em'' in
64326434
left-to-right text with no floats present, then first line of text
64336435
will start 5em into the block:</p>
64346436

@@ -6681,7 +6683,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
66816683
of such additions.
66826684

66836685
<div class="example">
6684-
The ''allow-end'' and ''force-end'' are two variations
6686+
The ''hanging-punctuation/allow-end'' and ''force-end'' are two variations
66856687
of hanging punctuation used in East Asia.
66866688

66876689
<div>
@@ -6712,7 +6714,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
67126714
</pre>
67136715
</div>
67146716

6715-
The punctuation at the end of the first line for ''allow-end''
6717+
The punctuation at the end of the first line for ''hanging-punctuation/allow-end''
67166718
does not hang, because it fits without hanging.
67176719
However, if ''force-end'' is used, it is forced to hang.
67186720
The justification measures the line without the hanging punctuation.

0 commit comments

Comments
 (0)