Skip to content

Commit 750e9b5

Browse files
committed
[css-text] Fixed bikeshed warnings
1 parent a6af9a6 commit 750e9b5

2 files changed

Lines changed: 36 additions & 36 deletions

File tree

css-text/Overview.bs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Terminology</h3>
239239
Values have the following meanings:</p>
240240

241241
<dl dfn-for=text-transform dfn-type=value>
242-
<dt><dfn>''none''</dfn></dt>
242+
<dt><dfn>none</dfn></dt>
243243
<dd>No effects.</dd>
244244
<dt><dfn>capitalize</dfn></dt>
245245
<dd>Puts the first <i>letter</i> of each word in titlecase; other characters
@@ -390,13 +390,13 @@ Terminology</h3>
390390
Lines only break at <i>forced line breaks</i>;
391391
content that does not fit within the block container overflows it.
392392
<dt><dfn>nowrap</dfn>
393-
<dd>Like ''normal'', this value collapses white space;
393+
<dd>Like ''white-space:normal'', this value collapses white space;
394394
but like ''pre'', it does not allow wrapping.
395395
<dt><dfn>pre-wrap</dfn></dt>
396396
<dd>Like ''pre'', this value preserves white space;
397-
but like ''normal'', it allows wrapping.
397+
but like ''white-space:normal'', it allows wrapping.
398398
<dt><dfn>pre-line</dfn></dt>
399-
<dd>Like ''normal'', this value collapses consecutive spaces and allows wrapping,
399+
<dd>Like ''white-space:normal'', this value collapses consecutive spaces and allows wrapping,
400400
but preserves <i>segment breaks</i> in the source as <i>forced line breaks</i>.
401401
</dl>
402402

@@ -416,7 +416,7 @@ Terminology</h3>
416416
</thead>
417417
<tbody>
418418
<tr>
419-
<th>''normal''</th>
419+
<th>''white-space:normal''</th>
420420
<td>Collapse</td>
421421
<td>Collapse</td>
422422
<td>Wrap</td>
@@ -449,7 +449,7 @@ Terminology</h3>
449449

450450
<p>See <a href="#white-space-processing">White Space Processing Rules</a>
451451
for details on how white space collapses. An informative summary of
452-
collapsing (''normal'' and ''nowrap'') is presented below:
452+
collapsing (''white-space:normal'' and ''nowrap'') is presented below:
453453
<ul>
454454
<li>A sequence of segment breaks and other white space between two
455455
Chinese, Japanese, or Yi characters collapses into nothing.
@@ -520,7 +520,7 @@ Terminology</h3>
520520

521521
<ul>
522522
<li id="collapse"><p>If 'white-space' is set to
523-
''normal'', ''nowrap'', or ''pre-line'',
523+
''white-space:normal'', ''nowrap'', or ''pre-line'',
524524
white space characters are considered <dfn>collapsible</dfn>
525525
and are processed by performing the following steps:</p>
526526
<ol>
@@ -556,7 +556,7 @@ Terminology</h3>
556556

557557
<p>where the <code>&lt;ltr&gt;</code> element represents a left-to-right embedding
558558
and the <code>&lt;rtl&gt;</code> element represents a right-to-left embedding.
559-
If the 'white-space' property is set to ''normal'',
559+
If the 'white-space' property is set to ''white-space:normal'',
560560
the white-space processing model would result in the following:
561561

562562
<ul style="line-height:1.3">
@@ -837,22 +837,22 @@ Line Breaking Details</h3>
837837

838838
<ul>
839839
<li>Following breaks be forbidden in ''strict'' line breaking and
840-
allowed in ''normal'' and ''loose'':
840+
allowed in ''line-break:normal'' and ''loose'':
841841
<ul>
842842
<li>breaks before Japanese small kana or the Katakana-Hiragana prolonged sound mark:
843843
i.e. characters with the Unicode Line Break property <code>CJ</code>.
844844
(See <a href="http://www.unicode.org/Public/UNIDATA/LineBreak.txt">LineBreak.txt</a> in [[!UNICODE]].)
845845
</ul>
846846
<li>
847-
Following breaks be allowed for ''normal'' and ''loose''
847+
Following breaks be allowed for ''line-break:normal'' and ''loose''
848848
if the <i>content language</i> is Chinese or Japanese,
849849
or be forbidden if not:
850850
<ul>
851851
<li>breaks before hyphens:<br>
852852
&#x2010;&nbsp;U+2010, &#x2013;&nbsp;U+2013, &#x301C;&nbsp;U+301C,
853853
&#x30A0;&nbsp;U+30A0
854854
</ul>
855-
<li>Following breaks be forbidden in ''normal'' and ''strict'' line
855+
<li>Following breaks be forbidden in ''line-break:normal'' and ''strict'' line
856856
breaking and allowed in ''loose'':
857857
<ul>
858858
<li>breaks before iteration marks:<br>
@@ -972,7 +972,7 @@ Line Breaking Details</h3>
972972
<dt><dfn>normal</dfn></dt>
973973
<dd><i>Soft wrap opportunities</i> are as defined <a href="#line-breaking">above</a>.</dd>
974974
<dt><dfn>break-all</dfn></dt>
975-
<dd>In addition to ''normal'' <i>soft wrap opportunities</i>,
975+
<dd>In addition to ''word-break:normal'' <i>soft wrap opportunities</i>,
976976
lines may break between any two <i>letters</i>
977977
(except where forbidden by the 'line-break' property).
978978
Hyphenation is not applied. This option is used mostly in a context where
@@ -984,7 +984,7 @@ Line Breaking Details</h3>
984984
i.e. breaks are prohibited between pairs of letters
985985
(including those explicitly allowed by 'line-break')
986986
except where opportunities exist due to dictionary-based breaking.
987-
Otherwise this option is equivalent to ''normal''.
987+
Otherwise this option is equivalent to ''word-break:normal''.
988988
In this style, sequences of CJK characters do not break.
989989
<p class=note>This is sometimes seen in Korean (which uses spaces between words),
990990
and is also useful for mixed-script text where CJK snippets are mixed
@@ -1527,7 +1527,7 @@ Handling Symbols and Punctuation</h4>
15271527
are generally treated the same as a <i>letter</i>:
15281528
in the case of ''inter-word'', as a Latin <i>letter</i>;
15291529
in the case of ''distribute'', as a Han <i>letter</i>;
1530-
and in the case of ''auto'', as a <i>letter</i> of the dominant script.
1530+
and in the case of ''text-justify:auto'', as a <i>letter</i> of the dominant script.
15311531

15321532
<p>However, by typographic tradition there may be additional rules
15331533
controlling the justification of symbols and punctuation.
@@ -1600,7 +1600,7 @@ Possible Algorithms</h4>
16001600
<p>As another example,
16011601
3.8 Line Adjustment in [[JLREQ]] gives an example of a set of rules for
16021602
how a text formatter can justify Japanese text.
1603-
A UA could use this algorithm when the 'text-justify' property is ''auto''.
1603+
A UA could use this algorithm when the 'text-justify' property is ''text-justify:auto''.
16041604
However, since the rules described in the document specifically target Japanese,
16051605
they may produce non-optimal results
16061606
when used to justify other languages such as English.
@@ -1669,7 +1669,7 @@ Word Spacing: the 'word-spacing' property</h3>
16691669

16701670
<p>This property specifies additional spacing
16711671
between &ldquo;words&rdquo;.
1672-
Missing values are assumed to be ''normal''.
1672+
Missing values are assumed to be ''word-spacing:normal''.
16731673
Values are interpreted as defined below:
16741674

16751675
<dl dfn-for=word-spacing dfn-type=value>
@@ -2318,14 +2318,14 @@ Changes</h2>
23182318
of the <a href="#order">Text Processing Order of Operations</a>.
23192319
<li>Changed the definition of <i>word-separator characters</i>.
23202320
<li>Changed to allow 'letter-spacing' to justify.
2321-
<li>Changed the computed value of ''normal'' value of 'letter-spacing' and 'word-spacing'.
2321+
<li>Changed the computed value of ''letter-spacing:normal'' value of 'letter-spacing' and 'word-spacing'.
23222322
<li>Changed the grammer rule of 'text-indent'.
23232323
</ul>
23242324

23252325
<p>Significant details updated:
23262326
<ul>
23272327
<li>Clarified ''start end'' and ''match-parent'' value of 'text-align'.
2328-
<li>Clarified ''none'' value of 'text-justify'.
2328+
<li>Clarified ''text-justify::none'' value of 'text-justify'.
23292329
<li>Clarified <a href="#expanding-text">expanding and compressing text</a> for 'text-justify'.
23302330
<li>Clarified the behavior of 'letter-spacing'.
23312331
<li>Clarified the behavior of 'text-align' for too long lines.

0 commit comments

Comments
 (0)