Skip to content

Commit 5b6b22b

Browse files
committed
[various][meta] Strip trailing whitespace from several specs.
1 parent 73a9b20 commit 5b6b22b

File tree

3 files changed

+62
-62
lines changed

3 files changed

+62
-62
lines changed

css-contain-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Strong Containment: the 'contain' property</h2>
128128
&lt;body>
129129
&lt;aside>...&lt;/aside>
130130
&lt;section>
131-
&lt;h2>Messages&lt;/h2>
131+
&lt;h2>Messages&lt;/h2>
132132
&lt;article>
133133
Lol, check out this dog: images.example.com/jsK3jkl
134134
&lt;/article>

css-inline-3/Overview.bs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Line Heights and Baseline Alignment</h2>
4646
<p class="issue">This section is being rewritten. Refer to <a href="https://www.w3.org/TR/CSS2/visudet.html#line-height">section 10.8</a> of [[CSS2]] for the normative CSS definition or the <a href="https://www.w3.org/TR/2002/WD-css3-linebox-20020515/">2002 Working Draft</a> if you want pretty pictures. (But ignore the old text, half of it's wrong. We're not specifying which half, that's to be determined.)
4747
<strong>The CSS2 specification should be used as the guideline for implementation.</strong></p>
4848

49-
Issue: The CSSWG would like to know which baseline values are necessary: if any can be dropped, or any need to be added. See GitHub issue <a href="https://github.com/w3c/csswg-drafts/issues/859">859</a>.
49+
Issue: The CSSWG would like to know which baseline values are necessary: if any can be dropped, or any need to be added. See GitHub issue <a href="https://github.com/w3c/csswg-drafts/issues/859">859</a>.
5050

5151
<h3 id="dominant-baseline-property">
5252
Dominant Baselines: the 'dominant-baseline' property</h3>
@@ -279,7 +279,7 @@ Alignment Shift: 'baseline-shift' longhand</h4>
279279
<p>User agents <em>may</em> additionally support the keyword <dfn for=baseline-shift>baseline</dfn>
280280
as computing to ''0''
281281
if is necessary for them to support legacy SVG content.
282-
282+
283283
Issue: We would prefer to remove this, and are looking for feedback from SVG user agents as to whether it's necessary.
284284

285285
<h2 id="initial-letter-styling">
@@ -414,7 +414,7 @@ Raised Initial Letters</h4>
414414

415415
<h4 id="initial-letter-punctuation">Initial Letter Punctuation</h4>
416416

417-
Since <code>::first-letter</code> selects punctuation before or after the first letter, these characters are included in the initial-letter.
417+
Since <code>::first-letter</code> selects punctuation before or after the first letter, these characters are included in the initial-letter.
418418

419419
<figure>
420420
<img src="images/initial-letter-punctuation-quote.png" width="604"
@@ -511,10 +511,10 @@ Creating Initial Letters: the 'initial-letter' property</h3>
511511
</div>
512512

513513
The 'initial-letter' property does not apply to boxes
514-
that are not positioned at the start of the line due to bidi reordering.
515-
516-
The 'initial-letter' property is undefined on children of <a>ruby</a> base container boxes
517-
and on <a>ruby</a> container boxes.
514+
that are not positioned at the start of the line due to bidi reordering.
515+
516+
The 'initial-letter' property is undefined on children of <a>ruby</a> base container boxes
517+
and on <a>ruby</a> container boxes.
518518

519519
<h4 id="initial-letter-properties">
520520
Properties</h4>
@@ -785,7 +785,7 @@ Space Around Initial Letters</h3>
785785
<figure>
786786
<img src="images/Dropcap-J-3line-crash.png" width="480"
787787
alt="3-line drop cap with J, with descender crashing into fourth line of text">
788-
<figcaption>Incorrect: three-line initial letter with descender.
788+
<figcaption>Incorrect: three-line initial letter with descender.
789789
In this font, the capital “J” extends well below the baseline (shown in red).</figcaption>
790790
</figure>
791791

@@ -1049,22 +1049,22 @@ Clearing Initial Letters</h3>
10491049

10501050
<h4 id="raised-sunken-caps">
10511051
Raised and sunken caps</h4>
1052-
<!--old text
1052+
<!--old text
10531053
An initial letter does not affect the position of its containing element.
10541054
For “raised caps” or “sunken caps,”
10551055
the effect is created as if the text around the initial letter was pushed down,
10561056
rather than the letter extending up into previous elements.
10571057

10581058
-->
10591059

1060-
The margin box of an initial letter contributes to the size
1061-
of its containing element.
1062-
Initial letters that extend above the first line of text,
1063-
known as “raised caps” or “sunken caps,”
1064-
do not extend up into previous elements.
1065-
Since the content box for an initial letter includes all glyph ink,
1066-
this also means that accents or other ink
1067-
above the cap height of an initial letter
1060+
The margin box of an initial letter contributes to the size
1061+
of its containing element.
1062+
Initial letters that extend above the first line of text,
1063+
known as “raised caps” or “sunken caps,”
1064+
do not extend up into previous elements.
1065+
Since the content box for an initial letter includes all glyph ink,
1066+
this also means that accents or other ink
1067+
above the cap height of an initial letter
10681068
will not impinge on previous elements.
10691069

10701070

@@ -1158,9 +1158,9 @@ Appendix A: Synthesizing Alignment Metrics</h2>
11581158
descends below the alphabetic baseline
11591159
can be subtracted from its highest point
11601160
to <a href="https://drafts.csswg.org/css-values/#ex">measure the x-height</a>.
1161-
1161+
11621162
<figure>
1163-
<img src="images/measuring-x-height-o.png" width="240"
1163+
<img src="images/measuring-x-height-o.png" width="240"
11641164
alt="measuring the x height of the letter o" >
11651165
<figcaption>
11661166
Measuring the x height.
@@ -1172,7 +1172,7 @@ Appendix A: Synthesizing Alignment Metrics</h2>
11721172
descends below the alphabetic baseline
11731173
can be subtracted from its highest point
11741174
to measure the cap-height.
1175-
1175+
11761176

11771177

11781178
<li>
@@ -1223,9 +1223,9 @@ Appendix A: Synthesizing Alignment Metrics</h2>
12231223
</table>
12241224

12251225
Issue: Pick a default.
1226-
1226+
12271227
<figure>
1228-
<img src="images/measuring-hanging-baseline-ka.png" width="240"
1228+
<img src="images/measuring-hanging-baseline-ka.png" width="240"
12291229
alt="finding the position of the hanging baseline of the letter ka" >
12301230
<figcaption>
12311231
The hanging baseline is at the top edge of the character ink.

css-multicol-1/Overview.bs

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ The multi-column model</h2>
196196
<figure>
197197
<img alt="a diagram showing the various parts of multi-column layout" src="images/initial-example-b.svg">
198198
<figcaption>The same layout as in the first image, as it would be displayed by an implementation.</figcaption>
199-
</figure>
199+
</figure>
200200
</div>
201201

202202
If the multi-column container is paginated, the height of each row is
@@ -216,7 +216,7 @@ The multi-column model</h2>
216216
</div>
217217

218218
Column boxes are block container boxes. The multi-column container is the principal box, and column boxes are anonymous.
219-
219+
220220
Note: Column boxes do not become the containing block for elements with ''position: fixed'' or ''position: absolute''. The containing block is the multicol element, it being the principal box.
221221

222222
<div class="example">
@@ -227,7 +227,7 @@ The multi-column model</h2>
227227
position: relative;
228228
column-count: 3;
229229
}
230-
img {
230+
img {
231231
position: absolute;
232232
top: 20px;
233233
left: 40px;
@@ -520,14 +520,14 @@ Two assumptions are being made by the pseudo-algorithm:
520520
In this example, the actual column-count is higher than the used column-count due to explicit column breaks:
521521

522522
<pre highlight="css">
523-
div {
524-
width: 40em;
525-
columns: 20em;
526-
column-gap: 0;
523+
div {
524+
width: 40em;
525+
columns: 20em;
526+
column-gap: 0;
527527
}
528528

529-
p {
530-
break-after: column;
529+
p {
530+
break-after: column;
531531
}
532532
</pre>
533533

@@ -724,7 +724,7 @@ Column gaps and rules</h2>
724724
</div>
725725

726726

727-
727+
728728

729729
<h2 id="column-breaks">
730730
Column breaks</h2>
@@ -834,9 +834,9 @@ section {
834834
padding-top: 2em;
835835
}
836836

837-
h2 {
838-
column-span: all;
839-
background: silver
837+
h2 {
838+
column-span: all;
839+
background: silver
840840
}
841841
</pre>
842842

@@ -881,7 +881,7 @@ h2 {
881881
In paged media spanning elements are honored on all pages.
882882
In this example, the first three paragraphs have column breaks after them.
883883
An spanning <code>H2</code> element appears after the fourth paragraph.
884-
884+
885885

886886
<figure>
887887
<img src="images/spanner-page-break1.svg" alt="Three columns with two lines of text each">
@@ -982,30 +982,30 @@ Filling columns</h2>
982982
columns due to column balancing.
983983

984984
<pre highlight="css">
985-
article {
986-
width: 60em;
987-
height: auto;
988-
columns: 4;
989-
column-fill: balance;
985+
article {
986+
width: 60em;
987+
height: auto;
988+
columns: 4;
989+
column-fill: balance;
990990
}
991991
</pre>
992992

993993
<figure>
994994
<img src="images/column-balancing-one-paragraph.svg" alt="Four columns, the first three have content.">
995995
<figcaption>Three lines displayed in three columns due to column balancing.</figcaption>
996996
</figure>
997-
997+
998998
</div>
999999

10001000
<div class="example">
10011001
In this example, column balancing is turned off:
10021002

10031003
<pre highlight="css">
1004-
article {
1005-
width: 60em;
1006-
height: auto;
1007-
columns: 4;
1008-
column-fill: auto;
1004+
article {
1005+
width: 60em;
1006+
height: auto;
1007+
columns: 4;
1008+
column-fill: auto;
10091009
}
10101010
</pre>
10111011

@@ -1021,15 +1021,15 @@ Filling columns</h2>
10211021
In this example, an article has two paragraphs: first a long one, then a shorter one. This code is applied:
10221022

10231023
<pre highlight="css">
1024-
article {
1025-
width: 60em;
1026-
height: auto;
1027-
columns: 4;
1028-
column-fill: balance;
1024+
article {
1025+
width: 60em;
1026+
height: auto;
1027+
columns: 4;
1028+
column-fill: balance;
10291029
}
10301030

1031-
p {
1032-
break-after: column;
1031+
p {
1032+
break-after: column;
10331033
}
10341034
</pre>
10351035

@@ -1046,11 +1046,11 @@ Filling columns</h2>
10461046

10471047
<div class="example">
10481048
<pre highlight="css">
1049-
article {
1050-
width: 60em;
1051-
height: auto;
1052-
columns: 4;
1053-
column-fill: balance;
1049+
article {
1050+
width: 60em;
1051+
height: auto;
1052+
columns: 4;
1053+
column-fill: balance;
10541054
}
10551055
</pre>
10561056

@@ -1138,11 +1138,11 @@ Pagination and overflow outside multicol containers</h3>
11381138
<img src="images/height-constraint-overflow-inline.svg" alt="Four columns, one outside the multicol container">
11391139
<figcaption>An overflow column is created in the inline direction.</figcaption>
11401140
</figure>
1141-
1141+
11421142
</div>
11431143

11441144
<div class="example">
1145-
1145+
11461146
In continuous media overflow columns can effect the height of the multicol container. In this example a column appears in the overflow which has four lines of text. The multicol container is made tall enough to accomodate this column.
11471147

11481148
<figure>

0 commit comments

Comments
 (0)