Skip to content

Commit d10a05c

Browse files
committed
Fix a bunch of markup oddities that cause bikeshed to misbehave
Closes #1840
1 parent 838a5d1 commit d10a05c

File tree

8 files changed

+28
-48
lines changed

8 files changed

+28
-48
lines changed

css-box/Overview.bs

+15-21
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,9 @@ padding area and content area together form the <dfn>border box</dfn>.
305305
Finally, outside the border is the <dfn>margin area</dfn> and its
306306
outer edge is the <dfn>margin edge</dfn>.
307307

308-
<p>When the specification says that the padding or border is <dfn
309-
title="absent|padding!!absent|border!!absent"
310-
>“absent”</dfn> on some side of the box, that means that
308+
<p>When the specification says that the padding or border is
309+
<dfn title="absent|padding!!absent|border!!absent" >“absent”</dfn>
310+
on some side of the box, that means that
311311
its thickness is zero.
312312

313313
<p><em title="line box">Line boxes</em> cannot have any padding,
@@ -453,11 +453,11 @@ and height, as follows:
453453
<p>These correspond to the dimensions in the <a>inline base
454454
direction</a> and the <a>block flow direction,</a> respectively.
455455

456-
<p>An alternative term for the measure is <dfn title="logical
457-
width|width!!logical" >logical width</dfn> and an alternative term for
458-
extent is <dfn title="logical height|height!!logical"
459-
>logical height.</dfn> These terms occasionally occur in other CSS
460-
modules.
456+
<p>An alternative term for the measure is
457+
<dfn title="logical width|width!!logical">logical width</dfn>
458+
and an alternative term for extent is
459+
<dfn title="logical height|height!!logical">logical height</dfn>.
460+
These terms occasionally occur in other CSS modules.
461461

462462
<p>The extent of a box is thus the distance between the
463463
block-start and block-end edges, while the measure of the box is the
@@ -472,8 +472,8 @@ independent of the orientation of the box itself. We distinguish four
472472
roles for the edges of a box, called <dfn lt="A|A edge">A
473473
edge</dfn>, <dfn lt="B|B edge">B edge</dfn>, <dfn lt="C|C edge">C
474474
edge</dfn> and <dfn lt="D|D edge">D edge</dfn>. They depend on the
475-
'writing-mode' and 'direction' properties of the box's <em class=index
476-
>containing block</em> (defined below), and map to the four sides as
475+
'writing-mode' and 'direction' properties of the box's
476+
<em class=index>containing block</em> (defined below), and map to the four sides as
477477
follows:
478478

479479
<table class=equiv-table>
@@ -954,8 +954,8 @@ the sum of the padding, border and margin is wide enough?
954954
<a>block-level</a> element and it is sized and positioned exactly as
955955
if its 'display' had been ''block''.
956956

957-
<p>Otherwise, <var>X</var> is placed such that its <a title="D edge"
958-
>D</a> margin edge aligns with the <a>inline-start</a> margin edge of
957+
<p>Otherwise, <var>X</var> is placed such that its
958+
<a title="D edge">D</a> margin edge aligns with the <a>inline-start</a> margin edge of
959959
its <a>containing block</a> and its <a title="A edge" >A</a> border
960960
edge aligns with the <a title="A edge" >A</a> border edge of
961961
<var>Y</var>. It is in this case an <a>inline-level</a> element.
@@ -2250,24 +2250,18 @@ replaced by 0.
22502250
if they are not in a paginated environment: If an element is
22512251
orthogonal and its measure (i.e., the distance between its
22522252
<em>A edge</em> and <em>C edge</em>) is ''auto'', then it is treated
2253-
as a <a
2254-
href="https://www.w3.org/TR/css3-multicol/#multi-column-element"
2255-
>multi-column element</a> [[!CSS3COL]] and 'column-width', if not
2253+
as a <a href="https://www.w3.org/TR/css3-multicol/#multi-column-element">multi-column element</a> [[!CSS3COL]] and 'column-width', if not
22562254
already set, is set to a value derived from the containing block's
22572255
size and the <a>initial containing block</a>
22582256

22592257
<p>The last principle applies to orthogonal flows in a paginated
22602258
environment, e.g., in paged media or inside a multi-column element:
22612259
Just like in a non-paginated environment, if an element is
22622260
orthogonal and its measure is ''auto'', then it is treated
2263-
as a <a
2264-
href="https://www.w3.org/TR/css3-multicol/#multi-column-element"
2265-
>multi-column element</a> [[!CSS3COL]] and 'column-width', if not
2261+
as a <a href="https://www.w3.org/TR/css3-multicol/#multi-column-element">multi-column element</a> [[!CSS3COL]] and 'column-width', if not
22662262
already set, is set to a certain value. But, in addition, if that
22672263
means that the first column would be so wide as stick out of the
2268-
page or column (the <a
2269-
href="https://www.w3.org/TR/css3-break/Overview.html#fragmentainer"
2270-
>“fragmentainer,”</a> see [[CSS3-BREAK]]), then that first column is
2264+
page or column (the <a href="https://www.w3.org/TR/css3-break/Overview.html#fragmentainer">“fragmentainer,”</a> see [[CSS3-BREAK]]), then that first column is
22712265
made narrower until it fits. But not narrower than
22722266
''min-content''. (If at that size it still doesn't fit, it may
22732267
instead be moved to the next page/column or, if that is not

css-contain/Overview.bs

+3-6
Original file line numberDiff line numberDiff line change
@@ -405,17 +405,15 @@ Answers are provided below.
405405
This appendix is <em>informative</em>.
406406

407407
<h3 id="2017-08-08-changes">Changes from the
408-
<a href="https://www.w3.org/TR/2017/CR-css-contain-1-20170808/"
409-
>Candidate Recommendation of 8 August 2017</a></h3>
408+
<a href="https://www.w3.org/TR/2017/CR-css-contain-1-20170808/">Candidate Recommendation of 8 August 2017</a></h3>
410409

411410
<ul>
412411
<li>Move the definition of "Becoming a formatting context" back to this specification
413412
<li>Rename "Becoming a formatting context" to "Becoming a formatting context root".
414413
</ul>
415414

416415
<h3 id="2017-04-19-changes">Changes from the
417-
<a href="https://www.w3.org/TR/2017/WD-css-contain-1-20170419/"
418-
>Working Draft of 19 April 2017</a></h3>
416+
<a href="https://www.w3.org/TR/2017/WD-css-contain-1-20170419/">Working Draft of 19 April 2017</a></h3>
419417

420418
<ul>
421419
<li>Clarify the interaction with display: contents
@@ -424,8 +422,7 @@ This appendix is <em>informative</em>.
424422
</ul>
425423

426424
<h3 id="fpwd-changes">Changes from the
427-
<a href="https://www.w3.org/TR/2017/WD-css-contain-1-20170221/"
428-
>First Public Working Draft of 21 February 2017</a></h3>
425+
<a href="https://www.w3.org/TR/2017/WD-css-contain-1-20170221/">First Public Working Draft of 21 February 2017</a></h3>
429426

430427
<ul>
431428
<li>Specify handling of replaced elements for size containment

css-device-adapt/Overview.bs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1521,8 +1521,7 @@ part of a recommended UA stylesheet.
15211521
This appendix is <em>informative</em>.
15221522

15231523
This appendix describes changes from the
1524-
<a href="https://www.w3.org/TR/2011/WD-css-device-adapt-20110915/"
1525-
>15 September 2011 First Public Working Draft</a>.
1524+
<a href="https://www.w3.org/TR/2011/WD-css-device-adapt-20110915/">15 September 2011 First Public Working Draft</a>.
15261525

15271526
<ul>
15281527
<li>Made various editorial improvements and clarifications.

css-namespaces/Overview.bs

+1-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ Boilerplate: omit footer
2525
<h2 class="no-num no-toc" id="status">Status of this document</h2>
2626
A CSS Namespace <a href="http://www.w3.org/Style/CSS/Test/">Test Suite</a>
2727
has been developed during the Candidate Recommendation phase of this CSS
28-
Namespaces specification. An <a
29-
href="/Style/CSS/Test/CSS3/Namespace/20090210/reports/implement-report.html"
30-
>implementation report</a> is also available.
28+
Namespaces specification. An <a href="/Style/CSS/Test/CSS3/Namespace/20090210/reports/implement-report.html">implementation report</a> is also available.
3129

3230
This document is the same as the previous, Candidate Recommendation
3331
version, except for editorial changes.

css-print/Overview.bs

+1-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ Status text:
7474
Images and Replaced Content Level 3</a> (and <a
7575
href="#section-images" >adds a mapping allowance</a>), and updates
7676
references to <a href="https://www.w3.org/TR/css3-page/" >CSS Paged
77-
Media Level 3</a> and <a href="https://www.w3.org/TR/CSS21/"
78-
>CSS 2.1</a>.</p>
77+
Media Level 3</a> and <a href="https://www.w3.org/TR/CSS21/">CSS 2.1</a>.</p>
7978
<p><em>At this time, the CSS Working Group does not envisage
8079
further work on this specification and does not plan to propose it
8180
as a W3C Recommendation.</em></p>

css-text-decor/Overview.bs

+5-10
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ Line Decoration: Underline, Overline, and Strike-Through</h2>
119119
<div class="figure">
120120
<p><img title="text-decoration-skip: ink"
121121
alt="An alphabetic underline through Myanmar text skips around descenders and the vertical strokes of combining characters that drop below the alphabetic baseline."
122-
src="images/decoration-skip-ink.png"
123-
>
122+
src="images/decoration-skip-ink.png">
124123
<p class="caption">Skipping Glyph Ink</p>
125124
</div>
126125

@@ -319,8 +318,7 @@ Text Underline Position: the 'text-underline-position' property</h3>
319318
below the alphabetic baseline, leaving a gap between the line
320319
and the bottom of most Latin letters, but crossing through
321320
descenders such as the stem of a 'p'."
322-
src="images/underline-position-alphabetic.png"
323-
>
321+
src="images/underline-position-alphabetic.png" >
324322
<p class="caption">A typical “alphabetic” underline is positioned just below the alphabetic baseline
325323
</div>
326324
<dt><dfn id="underline-under" value for="text-underline-position">under</dfn></dt>
@@ -333,8 +331,7 @@ Text Underline Position: the 'text-underline-position' property</h3>
333331
<p><img title="text-underline-position: under"
334332
alt="In a typical Latin font, the underline is far enough
335333
below the text that it does not cross the bottom of a 'g'."
336-
src="images/underline-position-under.png"
337-
>
334+
src="images/underline-position-under.png">
338335
<p class="caption">''text-underline-position: under''</p>
339336
</div>
340337
<div class="example">
@@ -367,15 +364,13 @@ Text Underline Position: the 'text-underline-position' property</h3>
367364
<img alt="In mixed Japanese-Latin vertical text, 'text-underline-position: left'
368365
places the underline on the left side of the text."
369366
title="text-underline-position: left"
370-
src="images/underline-position-left.png"
371-
>
367+
src="images/underline-position-left.png">
372368

373369
<td>
374370
<img alt="In mixed Japanese-Latin vertical text, 'text-underline-position: right'
375371
places the underline on the right side of the text."
376372
title="text-underline-position: right"
377-
src="images/underline-position-right.png"
378-
>
373+
src="images/underline-position-right.png">
379374

380375
<tr>
381376
<td>''text-underline-position/left''

css-ui-4/Overview.bs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1480,8 +1480,7 @@ and
14801480
This appendix is <em>informative</em>.
14811481

14821482
This appendix describes functional changes from the
1483-
<a href="https://www.w3.org/TR/2015/WD-css-ui-4-20150922/"
1484-
>22 Sep 2015 First Public Working Draft</a>.
1483+
<a href="https://www.w3.org/TR/2015/WD-css-ui-4-20150922/">22 Sep 2015 First Public Working Draft</a>.
14851484

14861485
<ul>
14871486
<li>The caret-animation property have been removed.

css-ui/Overview.bs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1371,8 +1371,7 @@ and
13711371
This appendix is <em>informative</em>.
13721372

13731373
This appendix describes changes from the
1374-
<a href="https://www.w3.org/TR/2015/CR-css-ui-3-20170302/"
1375-
>Candidate Recommendation (CR) of 2 March 2017</a>.
1374+
<a href="https://www.w3.org/TR/2015/CR-css-ui-3-20170302/">Candidate Recommendation (CR) of 2 March 2017</a>.
13761375

13771376
<ul>
13781377
<li>Updated references to latest versions

0 commit comments

Comments
 (0)