Skip to content

Commit cb5c65f

Browse files
committed
[css-text-3] Typographical tweak
Be more consistent about how we refer to unicode codepoints.
1 parent e5e7b3f commit cb5c65f

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

css-text-3/Overview.bs

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ Characters and Letters</h3>
290290
Even within the realm of text layout,
291291
the relevant [=character=] unit depends on the operation.
292292
For example, line-breaking and letter-spacing will segment
293-
a sequence of Thai characters that include U+0E33 THAI CHARACTER SARA AM differently;
293+
a sequence of Thai characters that include U+0E33 &nbsp;ำ THAI CHARACTER SARA AM differently;
294294
or the behavior of a conjunct consonant in a script such as Devanagari
295295
may depend on the font in use.
296296
So the [=typographic character=] represents a unit of the writing system--
@@ -851,7 +851,7 @@ Order of Operations</h4>
851851
Text transformation happens after [[#white-space-phase-1]]
852852
but before [[#white-space-phase-2]].
853853
This means that ''full-width'' only transforms
854-
U+0020 spaces to U+3000 within [=preserved=] [=white space=].
854+
spaces (U+0020) to U+3000 IDEOGRAPHIC SPACE within [=preserved=] [=white space=].
855855

856856
<wpt>
857857
text-transform/text-transform-fullwidth-006.html
@@ -1536,7 +1536,7 @@ White Space Processing &amp; Control Characters</h2>
15361536
are converted to line feeds at the parsing stage
15371537
(see [[HTML#preprocessing-the-input-stream]]
15381538
and the definition of [=normalize newlines=] in [[INFRA]])
1539-
and therefore do no appear as U+000D to CSS.
1539+
and therefore do no appear as U+000D CARRIAGE RETURN to CSS.
15401540
However, the character <em>is</em> preserved--
15411541
and the above rule observable--
15421542
when encoded using an escape sequence (<code highlight=html>&amp;#x0d;</code>).
@@ -1573,13 +1573,13 @@ The White Space Processing Rules</h3>
15731573
However, since both include spaces (U+0020), tabs (U+0009), and line feeds (U+000A)
15741574
most authors won’t notice any differences.
15751575

1576-
Besides Space (U+0020)
1577-
and No-Break Space (U+00A0),
1576+
Besides space (U+0020)
1577+
and no-break space (U+00A0),
15781578
Unicode [[UNICODE]] defines a number of additional space separator characters.
15791579
In this specification
15801580
all characters in the Unicode Zs category (See [[!UAX44]])
1581-
except Space (U+0020)
1582-
and No-Break Space (U+00A0)
1581+
except space (U+0020)
1582+
and no-break space (U+00A0)
15831583
are collectively referred to as
15841584
<dfn>other space separators</dfn>.
15851585

@@ -1922,13 +1922,13 @@ Phase II: Trimming and Positioning</h4>
19221922
white-space-processing-042.xht
19231923
</wpt>
19241924

1925-
Note: See [[UAX9]] for <a href="http://unicode.org/reports/tr9/#L1">rules on how U+0009 tabulation interacts with bidi</a>.
1925+
Note: See [[UAX9]] for <a href="http://unicode.org/reports/tr9/#L1">rules on how tabulation (U+0009) interacts with bidi</a>.
19261926

19271927
<li>
19281928
A sequence at the end of a line
19291929
of [=collapsible=] [=spaces=]
19301930
is removed,
1931-
as well as any trailing U+1680 OGHAM SPACE MARK
1931+
as well as any trailing U+1680 &#x1680; OGHAM SPACE MARK
19321932
whose 'white-space' property is ''white-space/normal'', ''nowrap'', or ''pre-line''.
19331933

19341934
<wpt>
@@ -3915,8 +3915,8 @@ Hyphenation: the 'hyphens' property</h3>
39153915
</wpt>
39163916

39173917
Note: The [=soft wrap opportunity=] introduced by
3918-
the U+002D HYPHEN-MINUS character
3919-
or the U+2010 HYPHEN character
3918+
the U+002D - HYPHEN-MINUS character
3919+
or the U+2010 HYPHEN character
39203920
is not a [=hyphenation opportunity=],
39213921
as no visual indication of the split is <em>created</em> when wrapping:
39223922
these characters are visible whether the line is wrapped at that point or not.
@@ -3967,8 +3967,8 @@ Hyphenation: the 'hyphens' property</h3>
39673967

39683968
Note: This does not suppress the existing [=soft wrap opportunities=]
39693969
introduced by always visible characters such as
3970-
U+002D HYPHEN-MINUS
3971-
or U+2010 HYPHEN.
3970+
U+002D - HYPHEN-MINUS
3971+
or U+2010 HYPHEN.
39723972

39733973
<wpt>
39743974
hyphens/hyphens-none-011.html
@@ -4015,7 +4015,7 @@ Hyphenation: the 'hyphens' property</h3>
40154015
in addition to those indicated explicitly by a conditional hyphen.
40164016
Automatic [=hyphenation opportunities=] within a word must be ignored
40174017
if the word contains a conditional hyphen
4018-
(&amp;shy; or U+00AD),
4018+
(&amp;shy; or U+00AD SOFT HYPHEN),
40194019
in favor of the conditional hyphen(s).
40204020
However, if, even after breaking at such opportunities,
40214021
a portion of that word is still too long to fit on one line,
@@ -4942,14 +4942,14 @@ Handling Symbols and Punctuation</h4>
49424942
<div class="example">
49434943
For example, there are traditionally no [=justification opportunities=]
49444944
between consecutive
4945-
U+2014 Em Dash ‘—’,
4946-
U+2015 Horizontal Bar ‘―’,
4947-
U+2026 Horizontal Ellipsis ‘…’,
4948-
or U+2025 Two Dot Leader ‘‥’
4945+
U+2014 — EM DASH,
4946+
U+2015 ― HORIZONTAL BAR,
4947+
U+2026 … HORIZONTAL ELLIPSIS,
4948+
or U+2025 ‥ TWO DOT LEADER
49494949
characters [[JLREQ]];
49504950
thus a UA might assign these characters to a “never” prioritization level.
49514951
As another example, certain full-width punctuation characters
4952-
(such as U+301A Left White Square Bracket ‘〚’)
4952+
(such as U+301A [ LEFT WHITE SQUARE BRACKET)
49534953
are considered to contain a [=justification opportunity=] in Japanese.
49544954
The UA might therefore assign these characters to a higher prioritization
49554955
level than the opportunities between ideographic characters.
@@ -5214,7 +5214,7 @@ Word Spacing: the 'word-spacing' property</h3>
52145214
the Ethiopic word space (U+1361),
52155215
the Aegean word separators (U+10100,U+10101),
52165216
the Ugaritic word divider (U+1039F),
5217-
and the Phoenician Word Separator (U+1091F).
5217+
and the Phoenician word separator (U+1091F).
52185218

52195219
<wpt pathprefix="css/CSS2/text">
52205220
word-spacing-characters-001.xht
@@ -5232,7 +5232,7 @@ Word Spacing: the 'word-spacing' property</h3>
52325232

52335233
If there are no [=word-separator characters=],
52345234
or if a word-separating character has a zero advance width
5235-
(such as the zero width space U+200B)
5235+
(such as U+200B ZERO WIDTH SPACE)
52365236
then the user agent must not create an additional spacing between words.
52375237

52385238
<wpt pathprefix="css/CSS2/text">
@@ -5655,7 +5655,7 @@ Cursive Scripts</h4>
56555655
It may involve the use of shortening ligatures,
56565656
swash variants,
56575657
contextual forms,
5658-
elongation glyphs such as U+0640 ARABIC TATWEEL,
5658+
elongation glyphs such as U+0640 ـ ARABIC TATWEEL,
56595659
or other microtypography.
56605660
It is outside the scope of CSS to define rules for these effects.
56615661
Authors should avoid applying 'letter-spacing' to cursive scripts
@@ -6179,7 +6179,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
61796179
of the [[CSS2/selector#first-line-pseudo|first formatted line]]
61806180
of an element [=hangs=].
61816181
This applies to all characters in the Unicode categories Ps, Pf, Pi
6182-
plus the ASCII quote marks “'” U+0027 and “"” U+0022.
6182+
plus the ASCII quote marks U+0027 ' APOSTROPHE and U+0022 " QUOTATION MARK.
61836183

61846184
<wpt>
61856185
hanging-punctuation/hanging-punctuation-first-001.xht
@@ -6190,7 +6190,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
61906190
A closing bracket or quote at the end
61916191
of the last formatted line of an element [=hangs=].
61926192
This applies to all characters in the Unicode categories Pe, Pf, Pi
6193-
plus the ASCII quote marks “'” U+0027 and “"” U+0022.
6193+
plus the ASCII quote marks U+0027 ' APOSTROPHE and U+0022 " QUOTATION MARK.
61946194

61956195
<wpt>
61966196
hanging-punctuation/hanging-punctuation-last-001.xht
@@ -6581,7 +6581,7 @@ Characters and Properties</h2>
65816581
(<code>So</code>)
65826582
in the Common script.
65836583
They are assumed to have the same Unicode properties
6584-
as the Replacement Character U+FFFD.
6584+
as the replacement character (U+FFFD).
65856585

65866586
<li>
65876587
[=Grapheme clusters=] formed with a Space Separator

0 commit comments

Comments
 (0)