Skip to content

Commit 26cfe81

Browse files
committed
[various] Editorial link fixes (and some incidental ws fixes).
1 parent 1bb806a commit 26cfe81

File tree

7 files changed

+27
-27
lines changed

7 files changed

+27
-27
lines changed

css-inline-3/Overview.bs

+18-18
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Inline Layout Box Model</h2>
120120
can come between the containing block edge and the line box edge,
121121
reducing space available to, and thus the [=logical width=],
122122
of any such impacted line boxes.
123-
(See [[CSS2/visuren.html#inline-formatting|CSS2&sect;9.4.2]]/[[CSS2/visuren.html#floats|CSS2&sect;9.5]]
123+
(See [[CSS2/visuren#inline-formatting]]/[[CSS2/visuren#floats]]
124124
and [[#initial-letter-styling]].)
125125

126126
Within the line box,
@@ -431,7 +431,7 @@ Alignment Shift: the 'baseline-shift' longhand</h4>
431431
Line Spacing: the 'line-height' property</h3>
432432

433433

434-
As described in the section on <a href="https://www.w3.org/TR/CSS2/visuren.html#inline-formatting">inline formatting contexts</a> [[CSS2/visuren.html#inline-formatting]],
434+
As described in the section on <a href="https://www.w3.org/TR/CSS2/visuren.html#inline-formatting">inline formatting contexts</a> [[CSS2/visuren#inline-formatting]],
435435
user agents flow inline-level boxes into a vertical stack of [=line boxes=].
436436
The height of a line box is determined as follows:
437437

@@ -1158,7 +1158,7 @@ Creating Initial Letters: the 'initial-letters' property</h3>
11581158

11591159
<dt><dfn><<integer>></dfn>
11601160
<dd>
1161-
This optional second argument
1161+
This optional second argument
11621162
defines the number of lines the initial letter should
11631163
<dfn dfn lt="initial letter sink" local-lt="sink">sink</dfn>.
11641164
A value of ''1'' indicates a <a>raised initial</a>;
@@ -1224,11 +1224,11 @@ Creating Initial Letters: the 'initial-letters' property</h3>
12241224
alt="Non-integral initial letter that only aligns at base">
12251225
</dl>
12261226
</div>
1227-
1227+
12281228
<div class="example">
12291229
In conjunction with other CSS properties, ''initial-letters'' can be used to create
12301230
“adjacent initial letters,” where the initial letter is adjacent to the text:
1231-
1231+
12321232
<pre>
12331233
p::first-letter {
12341234
initial-letters: 3;
@@ -1242,12 +1242,12 @@ Creating Initial Letters: the 'initial-letters' property</h3>
12421242
margin-left: 5em;
12431243
}
12441244
</pre>
1245-
1245+
12461246
<figure>
12471247
<img src="images/adjacent-initial-letter.png"
12481248
alt="Initial letter adjacent to text" width="360">
12491249
</figure>
1250-
1250+
12511251
</div>
12521252

12531253
<h4 id="first-most-inline-level">
@@ -1278,19 +1278,19 @@ Applicability</h4>
12781278
"first-most inline-level descendants" of the <code>&lt;p></code>,
12791279
but the <code>&lt;strong></code> element
12801280
is not:
1281-
1281+
12821282
<xmp>
12831283
<p><span><em><b>This</b> phrase</em> is styled
12841284
<strong>specially</strong>.</span>
12851285
</xmp>
1286-
1286+
12871287
If we apply the following rules:
1288-
1288+
12891289
<pre>
12901290
em { initial-letters: 2; }
12911291
b, strong { initial-letters: 3; }
12921292
</pre>
1293-
1293+
12941294
The 'initial-letters' property will take effect only on the <code>&lt;em></code>.
12951295
The styling on <code>&lt;b></code>
12961296
is ignored,
@@ -1299,7 +1299,7 @@ Applicability</h4>
12991299
because it is a second sibling.
13001300

13011301
The result might be rendered as
1302-
1302+
13031303
<figure>
13041304
<img src="images/firstmost-inline.png"
13051305
alt="“This phrase” becomes the dropped text spanning two lines, the remainder of the text wrapping alongside.">
@@ -1805,7 +1805,7 @@ Initial Letter Wrapping: the 'initial-letters-wrap' property</h3>
18051805

18061806
Issue: Do we need an unconditional ''initial-letters-wrap/first''?
18071807
(I.e. Should we rename this value to ''initial-letters-wrap/auto'' and add a ''initial-letters-wrap/first'' value
1808-
that does not check for spaces?) See GitHub issue
1808+
that does not check for spaces?) See GitHub issue
18091809
<a href="https://github.com/w3c/csswg-drafts/issues/410">410</a>
18101810

18111811
<dt><dfn>all</dfn></dt>
@@ -1814,8 +1814,8 @@ Initial Letter Wrapping: the 'initial-letters-wrap' property</h3>
18141814
the line box adjacent to the initial letter starts
18151815
at the start-most point that touches the ink of the initial letter,
18161816
plus the amount of the <a>initial letter</a>’s end-side border+padding+margin.
1817-
1818-
If the value of ''shape-outside'' is not ''none'',
1817+
1818+
If the value of ''shape-outside'' is not ''none'',
18191819
''shape-outside'' is used instead of the glyph outline.
18201820
</dd>
18211821

@@ -1994,7 +1994,7 @@ Edge Effects: Indentation and Hanging Punctuation</h4>
19941994
apply to the first line of text as normal in the presence of initial letters.
19951995
Lines affected by the exclusion are shortened, as in the presence of floats,
19961996
and are affected the same way.
1997-
1997+
19981998
<figure>
19991999
<img src="images/InitialLetterWithTextIndent.png" width="300"
20002000
alt="initial letter with text indent">
@@ -2150,12 +2150,12 @@ Interaction with floats</h4>
21502150
in subsequent lines of content adjacent to a (sunk) <a>initial letter</a>,
21512151
then that float must clear the <a>initial letter</a>.
21522152
</ul>
2153-
2153+
21542154
<figure>
21552155
<img src="images/float-interaction.png" width="480"
21562156
alt="initial letter interacting with floats">
21572157
<figcaption>
2158-
In the absence of an initial letter, the first line of text could abut the blue float.
2158+
In the absence of an initial letter, the first line of text could abut the blue float.
21592159
But the presence of the initial letter requires that the text move over.
21602160
</figcaption>
21612161
</figure>

css-nav-1/Overview.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ If <a>navigation-override</a> is disabled in the [=node document=] of <var>event
644644
the <a spec=html for="/">origin</a> of the [=active document=] of the [=top-level browsing context=], this event won't be dispatched.
645645

646646
<div class='example'>
647-
This example shows the [[UI-EVENTS#event-order]] when pressing the <code class=key>ArrowRight</code>
647+
This example shows the [=event order=] when pressing the <code class=key>ArrowRight</code>
648648
key.
649649
For the sake of keeping the description simple,
650650
this example assumes a User Agent where spatial navigation is triggered using arrow keys.
@@ -762,7 +762,7 @@ If <a>navigation-override</a> is disabled in the [=node document=] of <var>event
762762
the <a spec=html for="/">origin</a> of the [=active document=] of the [=top-level browsing context=], this event won't be dispatched.
763763

764764
<div class='example'>
765-
This example shows the [[UI-EVENTS#event-order]] when pressing the <code class=key>ArrowDown</code>
765+
This example shows the [=event order=] when pressing the <code class=key>ArrowDown</code>
766766
key in the situation like the following figure.
767767
For the sake of keeping the description simple,
768768
this example assumes a User Agent where spatial navigation is triggered using arrow keys.

css-overflow-3/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ Indicating Block-Axis Overflow: the 'block-ellipsis' property</h3>
872872
that would still allow the entire <a>block overflow ellipsis</a> to fit on the line.
873873
For this purpose, <a>soft wrap opportunities</a> added by 'overflow-wrap' are ignored.
874874
If this results in the entire contents of the line box being displaced,
875-
the line box is considered to contain a [=strut=], as defined in [[CSS2/visudet.html#leading]].
875+
the line box is considered to contain a [=strut=], as defined in [[CSS2/visudet#leading]].
876876
Text <a href="https://www.w3.org/TR/css-text-3/#justification">alignment and justification</a>
877877
occurs after placement,
878878
and measures the inserted <a>block overflow ellipsis</a>

css-overflow-4/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ other than ''visible''.
408408

409409
Even though this property is not inherited,
410410
annonymous block container boxes generated to
411-
establish the line box's <a>inline formatting context</a> (see [[CSS-DISPLAY-3#block-container]])
411+
establish the line box's <a>inline formatting context</a> (see [=block container=])
412412
are ignored,
413413
and the value of the property that applies is the one
414414
on the non annomymous box.

css-ui-3/Overview.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ Applies to: all elements
337337
Inherited: no
338338
Percentages: N/A
339339
Computed value: The computed value for ''outline-color/invert'' is ''outline-color/invert'';
340-
the computed value of ''outline-color/currentColor'' is ''outline-color/currentColor'' (See [[CSS-COLOR-3/#currentColor]]);
340+
the computed value of ''outline-color/currentColor'' is ''outline-color/currentColor'' (See ''currentcolor'');
341341
see the 'color' property for other <<color>> values.
342342
Animation Type: by computed value
343343
</pre>
@@ -567,7 +567,7 @@ to:
567567

568568
The effect of the 'resize' property on generated content is undefined. Implementations should not apply the 'resize' property to generated content.
569569

570-
Note: the 'resize' property may apply to generated content in the future if there is implementation of <a href="https://drafts.csswg.org/css-pseudo/#CSSPseudoElement-interface">Interface CSSPseudoElement</a> (See [[css-pseudo-4]]).
570+
Note: the 'resize' property may apply to generated content in the future if there is implementation of the {{CSSPseudoElement}} interface (See [[css-pseudo-4]]).
571571

572572
When an element is resized by the user,
573573
the user agent sets
@@ -1251,7 +1251,7 @@ Applies to: all elements
12511251
Inherited: yes
12521252
Percentages: N/A
12531253
Computed value: The computed value for ''caret-color/auto'' is ''caret-color/auto'';
1254-
the computed value of ''caret-color/currentColor'' is ''cart-color/currentColor'' (See [[CSS-COLOR-3/#currentColor]]);
1254+
the computed value of ''caret-color/currentColor'' is ''cart-color/currentColor'' (See ''currentcolor'');
12551255
see the 'color' property for other <<color>> values.
12561256
Animation type: by computed value
12571257
</pre>

css-writing-modes-3/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Inline Direction and Bidirectionality</h2>
209209
to its corresponding CSS styles.
210210

211211
<p class="note">
212-
The HTML specifications ([[HTML401]], section 8.2, and [[HTML]] [[HTML/rendering.html#bidi-rendering|section 14.3.5]]) define
212+
The HTML specifications ([[HTML401]], section 8.2, and [[HTML/rendering#bidi-rendering]]) define
213213
bidirectionality behavior for HTML elements.</p>
214214

215215
<p class="advisement">

css-writing-modes-4/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Inline Direction and Bidirectionality</h2>
207207
to its corresponding CSS styles.
208208

209209
<p class="note">
210-
The HTML specifications ([[HTML401]], section 8.2, and [[HTML]] [[HTML/rendering.html#bidi-rendering|section 14.3.5]]) define
210+
The HTML specifications ([[HTML401]], section 8.2, and [[HTML/rendering#bidi-rendering]]) define
211211
bidirectionality behavior for HTML elements.</p>
212212

213213
<p class="advisement">

0 commit comments

Comments
 (0)