Skip to content

Commit 1a82cf1

Browse files
committed
[css-text-4] bikeshed fixes
1 parent 7292af0 commit 1a82cf1

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

css-text-4/Overview.bs

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Line Breaking and Word Boundaries</h2>
134134
<h2 id="wrapping">
135135
Text Wrapping</h2>
136136

137-
Text wrapping is controlled by the 'text-wrap' and 'overflow-wrap' properties:
137+
Text wrapping is controlled by the 'text-wrap' and overflow-wrap properties:
138138

139139
<p class="note">Add final level 3 overflow-wrap</p>
140140

@@ -172,11 +172,11 @@ Text Wrap Settings: the 'text-wrap' property</h3>
172172
Line breaking is suppressed within the element: the UA may only break
173173
within the element if there are no other valid break points in the
174174
line. If the text breaks, line-breaking restrictions are honored as for
175-
'normal'.
175+
''text-wrap/normal''.
176176

177177
<dt><dfn>balance</dfn>
178178
<dd>
179-
Same as 'normal' for inline-level elements.
179+
Same as ''text-wrap/normal'' for inline-level elements.
180180
For block-level elements line breaks are chosen to minimize the deviation from the average line length over the entire element.
181181

182182
</dl>
@@ -186,11 +186,11 @@ Text Wrap Settings: the 'text-wrap' property</h3>
186186
NL, and SG line breaking classes in [[!UAX14]] must
187187
be honored.
188188

189-
When <span class="property">'text-wrap'</span> is set to 'normal' or
190-
'avoid', UAs that allow breaks at punctuation other than spaces
189+
When <span class="property">'text-wrap'</span> is set to ''text-wrap/normal'' or
190+
''text-wrap/avoid'', UAs that allow breaks at punctuation other than spaces
191191
should prioritize breakpoints.
192192
For example, if breaks after slashes have a lower priority than spaces,
193-
the sequence "check /etc" will never break between the '/' and the 'e'.
193+
the sequence check /etc will never break between the ‘/’ and the ‘e’.
194194
The UA may use the width of the containing block, the text's language,
195195
and other factors in assigning priorities.
196196
As long as care is taken to avoid such awkward breaks, allowing breaks at
@@ -271,7 +271,7 @@ Hyphens: the 'hyphenate-character' property</h3>
271271
</pre>
272272

273273
This property specifies strings that are shown between parts of
274-
hyphenated words. The 'auto' value means that the user agent should
274+
hyphenated words. The <dfn for=hyphenate-character>''auto''</dfn> value means that the user agent should
275275
find an appropriate value, preferably from the same source as the
276276
hyphenation dictionary. If a string is specified, it appears at
277277
the end of the line before a hyphenation break.
@@ -373,7 +373,7 @@ Hyphenation Line Limits: the 'hyphenate-limit-lines' and 'hyphenate-limit-last'
373373
lines in an element. The ''no-limit'' value means that there is no limit.
374374

375375
In some cases, user agents may not be able to honor the specified value.
376-
(See 'overflow-wrap'.) It is not defined whether hyphenation introduced by
376+
(See overflow-wrap.) It is not defined whether hyphenation introduced by
377377
such emergency breaking influences nearby hyphenation points.
378378

379379
<pre class="propdef">
@@ -464,7 +464,8 @@ Alignment and Justification</h2>
464464
how this value combines with keywords.
465465
</dl>
466466

467-
<h4 id="character-alignment">Character-based Alignment in a Table Column</h4>
467+
<h3 id="character-alignment">
468+
Character-based Alignment in a Table Column</h3>
468469

469470
When multiple cells in a column have an <i>alignment character</i> specified,
470471
the alignment character of each such cell in the column is centered along
@@ -517,7 +518,7 @@ Alignment and Justification</h2>
517518
</div>
518519

519520
A keyword value may be specified in conjunction with the &lt;string&gt;
520-
value; if it is not given, it defaults to ''right''. This value is used:
521+
value; if it is not given, it defaults to ''text-align/right''. This value is used:
521522

522523
<ul>
523524
<li>
@@ -528,17 +529,17 @@ Alignment and Justification</h2>
528529
<li>
529530
when a character-aligned cell spans more than one column. In this
530531
case the keyword alignment value is used to determine which column's
531-
axis to align with: the leftmost column for ''left'', the rightmost
532-
column for ''right'' and ''center'', the startmost column for ''start'',
533-
the endmost column for ''end''.
532+
axis to align with: the leftmost column for ''text-align/left'', the rightmost
533+
column for ''text-align/right'' and ''text-align/center'', the startmost column for ''text-align/start'',
534+
the endmost column for ''text-align/end''.
534535
<li>
535536
when the column is wide enough that the character alignment alone does
536537
not determine the positions of its character-aligned contents. In this
537538
case the keyword alignment of the first cell in the column with a
538539
specified alignment character is used to slide the position of the
539540
character-aligned contents to match the keyword alignment insofar as
540541
possible without changing the width of the column.
541-
For ''center'', the UA may center
542+
For ''text-align/center'', the UA may center
542543
the aligned contents using its extremes, center the alignment axis
543544
itself (insofar as possible), or optically center the aligned contents
544545
some other way (such as by taking a weighted average of the extent of
@@ -822,7 +823,7 @@ Text Spacing Character Classes</h4>
822823

823824
<dl>
824825
<dt><dfn>ideographs</dfn>
825-
<dd>Includes all <a>typographic character units</a> whose base character is listed below:
826+
<dd>Includes all typographic character units [[CSS3TEXT]] whose base character is listed below:
826827
<ul>
827828
<li>All characters in the range of U+3041 to U+30FF,
828829
except those that belong to Unicode Punctuation [P*] category.
@@ -833,25 +834,25 @@ Text Spacing Character Classes</h4>
833834

834835
<dt><dfn>ion-ideographic letters</dfn>
835836
<dd>
836-
Includes all <a>typographic character units</a> that
837+
Includes all typographic character units that
837838
belong to Unicode Letters [L*] and Mark [M*] category,
838839
except when any of the following conditions are met:
839840
<ul>
840841
<li>is defined as <a>ideograph</a>.
841842
<li>is categorized as East Asian Fullwidth (F) by [[!UAX11]].
842843
<li>is upright in vertical text flow using the 'text-orientation' property
843-
or the 'text-combine' property.
844+
or the 'text-combine-upright' property.
844845
</ul>
845846

846847
<dt><dfn>non-ideographic numerals</dfn>
847848
<dd>
848-
Includes all <a>typographic character units</a> that
849+
Includes all typographic character units that
849850
belong to the Unicode Decimal Digit Number [Nd] category,
850851
except when any of the following conditions are met:
851852
<ul>
852853
<li>is categorized as East Asian Fullwidth (F) by [[!UAX11]].
853854
<li>is upright in vertical text flow using the 'text-orientation' property
854-
or the 'text-combine' property.
855+
or the 'text-combine-upright' property.
855856
</ul>
856857

857858
<dt><dfn>fullwidth opening punctuation</dfn>

0 commit comments

Comments
 (0)