8000 [css-display-3] Markup fix · w3c/csswg-drafts@3019d34 · GitHub
Skip to content

Commit 3019d34

Browse files
committed
[css-display-3] Markup fix
Needed to make specberus and the validator happy. Otherwise they complain about h2 h1 h3, with the h3 skipping a level from h1.
1 parent 0f554ff commit 3019d34

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

css-display-3/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ spec: svg2;
7575
.code-and-figure img {
7676
background: transparent;
7777
}
78+
.order-example a.self-link { display: none; }
7879
</style>
7980

8081
<h2 id="intro">
@@ -1375,7 +1376,7 @@ Display Order: the 'order' property</h2>
13751376

13761377
<pre class="lang-markup">
13771378
&lt;article class="sale-item">
1378-
&lt;h1>Computer Starter Kit&lt;/h1>
1379+
&lt;h3>Computer Starter Kit&lt;/h3>
13791380
&lt;p>This is the best computer money can buy, if you don’t have much money.
13801381
&lt;ul>
13811382
&lt;li>Computer
@@ -1392,7 +1393,7 @@ Display Order: the 'order' property</h2>
13921393
<figure>
13931394
<div id="order-example">
13941395
<img src="images/computer.jpg" alt='You get: a white desktop computer with matching keyboard and monitor.' width="250" height="188">
1395-
<h1 id=quiet-pubrules-1 style="font-size: 1.4em;">Computer Starter Kit</h1>
1396+
<h3 class="no-num no-toc" id=quiet-pubrules-1 style="font-size: 1.4em; color: inherit;">Computer Starter Kit</h3>
13961397
<p>
13971398
This is the best computer money can buy,
13981399
if you don't have much money.

0 commit comments

Comments
 (0)