Skip to content

Commit 076914a

Browse files
committed
[css-text] Bikeshed fixes
1 parent ab9f9df commit 076914a

File tree

2 files changed

+4145
-2046
lines changed

2 files changed

+4145
-2046
lines changed

css-text/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ Line Breaking Details</h3>
11671167
however UAs are strongly encouraged to optimize their line-breaking implementation
11681168
to choose good break points and appropriate hyphenation points.
11691169
Hyphenation opportunities <em>are</em> considered when calculating
1170-
''min-content'' intrinsic sizes.
1170+
<a lt="min-content size">min-content intrinsic sizes</a>.
11711171
<!-- This is because it allows tables to hyphenate instead of overflowing,
11721172
which is particularly important in long-word languages like German.
11731173
https://bugzilla.mozilla.org/show_bug.cgi?id=418975 -->
@@ -1305,7 +1305,7 @@ Canonical order: N/A
13051305
</dl>
13061306

13071307
<p><i>Soft wrap opportunities</i> introduced by ''overflow-wrap: break-word''
1308-
are not considered when calculating ''min-content'' intrinsic sizes.
1308+
are not considered when calculating <a lt="min-content size">min-content intrinsic sizes</a>.
13091309

13101310
<p>For legacy reasons, UAs must treat 'word-wrap' as an alternate name
13111311
for the 'overflow-wrap' property, as if it were a <i>shorthand</i> of 'overflow-wrap'.
@@ -1416,7 +1416,7 @@ Canonical order: N/A
14161416
or containing block.
14171417

14181418
<p>In the case of ''justify'', the UA may stretch or shrink any inline boxes
1419-
by <a href="#text-justify">adjusting</a> their text. (See 'text-justify'.)
1419+
by <a href="#text-justify-property">adjusting</a> their text. (See 'text-justify'.)
14201420
If an element's white space is not <a href="#collapse">collapsible</a>,
14211421
then the UA is not required to adjust its text for the purpose of justification
14221422
and may instead treat the text as having no <i>justification opportunities</i>.
@@ -1946,7 +1946,7 @@ Word Spacing: the 'word-spacing' property</h3>
19461946

19471947
<p><dfn id="word-separator" lt="word-separator character | word separator">Word-separator characters</dfn>
19481948
are <i>typographic character units</i> whose purpose and general usage is to separate words.
1949-
In [UNICODE] this includes
1949+
In [[UNICODE]] this includes
19501950
the space (U+0020), the no-break space (U+00A0), the Ethiopic word space (U+1361),
19511951
the Aegean word separators (U+10100,U+10101), the Ugaritic word divider (U+1039F),
19521952
and the Phoenician Word Separator (U+1091F).
@@ -2010,7 +2010,7 @@ Word Spacing: the 'word-spacing' property</h3>
20102010
and is in addition to any 'word-spacing'.
20112011
Depending on the justification rules in effect,
20122012
user agents may further increase or decrease the space between <i>typographic character units</i>
2013-
in order to <a href="#text-justify">justify text</a>.
2013+
in order to <a href="#text-justify-property">justify text</a>.
20142014

20152015
<p>Values have the following meanings:
20162016

@@ -2111,7 +2111,7 @@ Word Spacing: the 'word-spacing' property</h3>
21112111
regardless of where any element boundaries might fall.
21122112

21132113
<p>When the effective spacing between two characters is not zero
2114-
(due to either <a href="#text-justify">justification</a>
2114+
(due to either <a href="#text-justify-property">justification</a>
21152115
or a non-zero value of 'letter-spacing'),
21162116
user agents should not apply optional ligatures.</p>
21172117

@@ -2558,15 +2558,15 @@ Text Processing Order of Operations</h2>
25582558
<li><a href="http://www.w3.org/TR/css3-writing-modes/#text-orientation">text orientation</a> [[!CSS3-WRITING-MODES]]
25592559
<li><a href="#wrapping">text wrapping</a> while applying per line:
25602560
<ol style="list-style: lower-roman">
2561-
<li><a href="#text-indent">indentation</a>
2561+
<li><a href="#text-indent-property">indentation</a>
25622562
<li><a href="http://www.w3.org/TR/css3-writing-modes/#text-direction">bidirectional reordering</a> [[!CSS21]] / [[!CSS3-WRITING-MODES]]
25632563
<li><a href="#white-space-phase-2">white space processing</a> part II
25642564
<li><a href="http://www.w3.org/TR/css3-fonts/">font/glyph selection and positioning</a> [[!CSS21]] / [[!CSS3-FONTS]]
25652565
<li>'letter-spacing' and 'word-spacing'
2566-
<li><a href="#hanging-punctuation">hanging punctuation</a>
2566+
<li><a href="#hanging-punctuation-property">hanging punctuation</a>
25672567
</ol>
25682568
<li><a href="#justification">justification</a> (which may affect glyph selection and/or text wrapping, looping back into that step)
2569-
<li><a href="#text-align">text alignment</a>
2569+
<li><a href="#text-align-property">text alignment</a>
25702570
</ol>
25712571

25722572
<h2 class="no-num" id="default-stylesheet">

0 commit comments

Comments
 (0)