Skip to content

Commit 7b900d8

Browse files
committed
[css-text] Various editorial trivialities.
1 parent a662b55 commit 7b900d8

2 files changed

Lines changed: 26 additions & 24 deletions

File tree

css-text/Overview.bs

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ Languages and Typesetting</h4>
347347
like ideographic characters.
348348
</dl>
349349

350-
<p>The definition of “word“ used for ''capitalize'' is UA-dependent;
350+
<p>For ''capitalize'', what constitutes a “word“ is UA-dependent;
351351
[[!UAX29]] is suggested (but not required) for determining such word
352352
boundaries. Authors should not expect ''capitalize'' to follow
353353
language-specific titlecasing conventions (such as skipping articles
@@ -578,13 +578,14 @@ Languages and Typesetting</h4>
578578
in the text is treated as a <dfn export>segment break</dfn>,
579579
which is then interpreted for rendering as specified by the 'white-space' property.
580580

581-
<p class="note">Note that the document parser may have
582-
not only normalized any <i>segment breaks</i>,
583-
but also collapsed other space characters or
584-
otherwise processed white space according to markup rules. Because CSS
585-
processing occurs <em>after</em> the parsing stage, it is not possible
586-
to restore these characters for styling. Therefore, some of the
587-
behavior specified below can be affected by these limitations and
581+
<p class="note">Note that a document parser might
582+
not only normalize any <i>segment breaks</i>,
583+
but also collapse other space characters or
584+
otherwise process white space according to markup rules.
585+
Because CSS processing occurs <em>after</em> the parsing stage,
586+
it is not possible to restore these characters for styling.
587+
Therefore, some of the behavior specified below
588+
can be affected by these limitations and
588589
may be user agent dependent.</p>
589590

590591
<p class="note">Note that anonymous blocks consisting entirely of
@@ -635,7 +636,7 @@ Languages and Typesetting</h4>
635636
<li>Every tab is converted to a space (U+0020).</li>
636637
<li>Any space immediately following another collapsible space&mdash;even
637638
one outside the boundary of the inline containing that space,
638-
provided they are both within the same inline formatting
639+
provided both spaces are within the same inline formatting
639640
context&mdash;is collapsed to have zero advance width. (It is
640641
invisible, but retains its <i>soft wrap opportunity</i>, if any.)</li>
641642
</ol>
@@ -813,7 +814,7 @@ Languages and Typesetting</h4>
813814
In these systems a line can break anywhere <em>except</em> between certain character combinations.
814815
Additionally the level of strictness in these restrictions can vary with the typesetting style.</p>
815816

816-
<p>CSS does not fully define where <i>soft wrap opportunities</i> occur,
817+
<p>CSS does not fully define where <i>soft wrap opportunities</i> occur;
817818
however some controls are provided to distinguish common variations.
818819

819820
<div class="note">
@@ -956,7 +957,7 @@ Line Breaking Details</h3>
956957
lines may break between any two <i>semantically-perceived letters</i>
957958
(except where forbidden by the 'line-break' property).
958959
Hyphenation is not applied. This option is used mostly in a context where
959-
the text is predominantly using CJK characters with few non-CJK excerpts
960+
the text consists predominantly of CJK characters with only short non-CJK excerpts,
960961
and it is desired that the text be better distributed on each line.</dd>
961962

962963
<dt><dfn>keep-all</dfn></dt>
@@ -1240,7 +1241,7 @@ Line Breaking Details</h3>
12401241
hyphenation resource.
12411242

12421243
<p>
1243-
Such an automatic hyphenation points within a word are ignored
1244+
Automatic hyphenation points within a word are ignored
12441245
when it contains soft hyphens (&amp;shy; or U+00AD.)
12451246

12461247
<p>When shaping scripts such as Arabic are allowed to break within words

css-text/Overview.html

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ <h3 class="heading settled heading" data-level=2.1 id=text-transform-property><s
521521
like ideographic characters.
522522
</dl>
523523

524-
<p>The definition of “word“ used for <a class=css data-link-type=maybe href=#valdef-text-transform.capitalize title=capitalize>capitalize</a> is UA-dependent;
524+
<p>For <a class=css data-link-type=maybe href=#valdef-text-transform.capitalize title=capitalize>capitalize</a>, what constitutes a “word“ is UA-dependent;
525525
<a data-biblio-type=normative data-link-type=biblio href=#biblio-uax29 title=biblio-uax29>[UAX29]</a> is suggested (but not required) for determining such word
526526
boundaries. Authors should not expect <a class=css data-link-type=maybe href=#valdef-text-transform.capitalize title=capitalize>capitalize</a> to follow
527527
language-specific titlecasing conventions (such as skipping articles
@@ -751,13 +751,14 @@ <h2 class="heading settled heading" data-level=4 id=white-space-processing><span
751751
in the text is treated as a <dfn data-dfn-type=dfn data-export="" id=segment-break>segment break<a class=self-link href=#segment-break></a></dfn>,
752752
which is then interpreted for rendering as specified by the <a class=property data-link-type=propdesc href=#propdef-white-space title=white-space>white-space</a> property.
753753

754-
<p class=note>Note that the document parser may have
755-
not only normalized any <a data-link-type=dfn href=#segment-break title="segment breaks">segment breaks</a>,
756-
but also collapsed other space characters or
757-
otherwise processed white space according to markup rules. Because CSS
758-
processing occurs <em>after</em> the parsing stage, it is not possible
759-
to restore these characters for styling. Therefore, some of the
760-
behavior specified below can be affected by these limitations and
754+
<p class=note>Note that a document parser might
755+
not only normalize any <a data-link-type=dfn href=#segment-break title="segment breaks">segment breaks</a>,
756+
but also collapse other space characters or
757+
otherwise process white space according to markup rules.
758+
Because CSS processing occurs <em>after</em> the parsing stage,
759+
it is not possible to restore these characters for styling.
760+
Therefore, some of the behavior specified below
761+
can be affected by these limitations and
761762
may be user agent dependent.</p>
762763

763764
<p class=note>Note that anonymous blocks consisting entirely of
@@ -808,7 +809,7 @@ <h4 class="heading settled heading" data-level=4.1.1 id=white-space-phase-1><spa
808809
<li>Every tab is converted to a space (U+0020).</li>
809810
<li>Any space immediately following another collapsible space—even
810811
one outside the boundary of the inline containing that space,
811-
provided they are both within the same inline formatting
812+
provided both spaces are within the same inline formatting
812813
context—is collapsed to have zero advance width. (It is
813814
invisible, but retains its <a data-link-type=dfn href=#soft-wrap-opportunity title="soft wrap opportunity">soft wrap opportunity</a>, if any.)</li>
814815
</ol>
@@ -986,7 +987,7 @@ <h2 class="heading settled heading" data-level=5 id=line-breaking><span class=se
986987
In these systems a line can break anywhere <em>except</em> between certain character combinations.
987988
Additionally the level of strictness in these restrictions can vary with the typesetting style.</p>
988989

989-
<p>CSS does not fully define where <a data-link-type=dfn href=#soft-wrap-opportunity title="soft wrap opportunities">soft wrap opportunities</a> occur,
990+
<p>CSS does not fully define where <a data-link-type=dfn href=#soft-wrap-opportunity title="soft wrap opportunities">soft wrap opportunities</a> occur;
990991
however some controls are provided to distinguish common variations.
991992

992993
<div class=note>
@@ -1129,7 +1130,7 @@ <h3 class="heading settled heading" data-level=5.2 id=word-break-property><span
11291130
lines may break between any two <a data-link-type=dfn href=#semantically-perceived-letter title="semantically-perceived letters">semantically-perceived letters</a>
11301131
(except where forbidden by the <a class=property data-link-type=propdesc href=#propdef-line-break title=line-break>line-break</a> property).
11311132
Hyphenation is not applied. This option is used mostly in a context where
1132-
the text is predominantly using CJK characters with few non-CJK excerpts
1133+
the text consists predominantly of CJK characters with only short non-CJK excerpts,
11331134
and it is desired that the text be better distributed on each line.</dd>
11341135

11351136
<dt><dfn class=css-code data-dfn-for=word-break data-dfn-type=value data-export="" id=valdef-word-break.keep-all>keep-all<a class=self-link href=#valdef-word-break.keep-all></a></dfn></dt>
@@ -1402,7 +1403,7 @@ <h3 class="heading settled heading" data-level=6.1 id=hyphens-property><span cla
14021403
hyphenation resource.
14031404

14041405
<p>
1405-
Such an automatic hyphenation points within a word are ignored
1406+
Automatic hyphenation points within a word are ignored
14061407
when it contains soft hyphens (&amp;shy; or U+00AD.)
14071408

14081409
<p>When shaping scripts such as Arabic are allowed to break within words

0 commit comments

Comments
 (0)