Skip to content

Commit a157c30

Browse files
author
Simon Pieters
committed
[cssom-view] Editorial: markup tweak
1 parent b28f462 commit a157c30

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

cssom-view/Overview.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ <h2 class="no-num no-toc" id="toc">Table of Contents</h2>
160160
<li><a href="#scrolling-0"><span class="secno">12.2 </span>Scrolling</a></ol></li>
161161
<li><a href="#css-properties"><span class="secno">13 </span>CSS properties</a>
162162
<ol class="toc">
163-
<li><a href="#smooth-scrolling:-the-scroll-behavior-property"><span class="secno">13.1 </span>Smooth Scrolling: The '<code title="">scroll-behavior</code>' Property</a></ol></li>
163+
<li><a href="#smooth-scrolling:-the-scroll-behavior-property"><span class="secno">13.1 </span>Smooth Scrolling: The 'scroll-behavior' Property</a></ol></li>
164164
<li><a class="no-num" href="#references">References</a></li>
165165
<li><a class="no-num" href="#acknowledgments">Acknowledgments</a></ol>
166166
<!--end-toc-->
@@ -419,10 +419,10 @@ <h3 id="scrolling"><span class="secno">4.1 </span>Scrolling</h3>
419419

420420
<ol>
421421
<li><p><a href="#concept-smooth-scroll-aborted" title="concept-smooth-scroll-aborted">Abort</a> any ongoing <a href="#concept-smooth-scroll" title="concept-smooth-scroll">smooth scroll</a> for <var title="">box</var>.
422-
<li><p>If the user agent honors the '<code><a href="#scroll-behavior">scroll-behavior</a></code>' property and one of the following are true:
422+
<li><p>If the user agent honors the '<a href="#scroll-behavior">scroll-behavior</a>' property and one of the following are true:
423423
<ul>
424424
<li><p><var title="">behavior</var> is <code title="">auto</code> and <var title="">element</var> is not null and its computed value of the
425-
'<code><a href="#scroll-behavior">scroll-behavior</a></code>' property is '<code title="scroll-behavior-smooth"><a href="#scroll-behavior-smooth">smooth</a></code>'
425+
'<a href="#scroll-behavior">scroll-behavior</a>' property is '<a href="#scroll-behavior-smooth" title="scroll-behavior-smooth">smooth</a>'
426426
<li><p><var title="">behavior</var> is <code title="">smooth</code>
427427
</ul>
428428
<p>...then follow these substeps:
@@ -1430,7 +1430,7 @@ <h2 id="css-properties"><span class="secno">13 </span>CSS properties</h2>
14301430

14311431
<p class="XXX">The features in this section should be moved to some other specification.
14321432

1433-
<h3 id="smooth-scrolling:-the-scroll-behavior-property"><span class="secno">13.1 </span>Smooth Scrolling: The '<code title="">scroll-behavior</code>' Property</h3>
1433+
<h3 id="smooth-scrolling:-the-scroll-behavior-property"><span class="secno">13.1 </span>Smooth Scrolling: The 'scroll-behavior' Property</h3>
14341434

14351435
<pre class="propdef">Name: <dfn id="scroll-behavior">scroll-behavior</dfn>
14361436
Value: instant | smooth
@@ -1443,15 +1443,15 @@ <h3 id="smooth-scrolling:-the-scroll-behavior-property"><span class="secno">13.1
14431443
Canonical Order: per grammar
14441444
</pre>
14451445

1446-
<p>The '<code><a href="#scroll-behavior">scroll-behavior</a></code>' property specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling
1446+
<p>The '<a href="#scroll-behavior">scroll-behavior</a>' property specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling
14471447
APIs. Scrolls that are performed by the user are not affected by this property. When this property is specified on the root element, it applies to the
14481448
<a href="#viewport">viewport</a> instead.
14491449

14501450
<dl>
1451-
<dt>'<dfn id="scroll-behavior-instant" title="scroll-behavior-instant"><code>instant</code></dfn>'
1451+
<dt>'<dfn id="scroll-behavior-instant" title="scroll-behavior-instant">instant</dfn>'
14521452
<dd><p>The scrolling box is scrolled in an instant fashion.
14531453

1454-
<dt>'<dfn id="scroll-behavior-smooth" title="scroll-behavior-smooth"><code>smooth</code></dfn>'
1454+
<dt>'<dfn id="scroll-behavior-smooth" title="scroll-behavior-smooth">smooth</dfn>'
14551455
<dd><p>The scrolling box is scrolled in a smooth fashion using a user agent-defined timing function over a user agent-defined period of time. User agents
14561456
should follow platform convensions, if any.
14571457
</dl>

cssom-view/Overview.src.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,10 @@ <h3>Scrolling</h3>
387387

388388
<ol>
389389
<li><p><span title=concept-smooth-scroll-aborted>Abort</span> any ongoing <span title=concept-smooth-scroll>smooth scroll</span> for <var title>box</var>.
390-
<li><p>If the user agent honors the '<code>scroll-behavior</code>' property and one of the following are true:
390+
<li><p>If the user agent honors the '<span>scroll-behavior</span>' property and one of the following are true:
391391
<ul>
392392
<li><p><var title>behavior</var> is <code title>auto</code> and <var title>element</var> is not null and its computed value of the
393-
'<code>scroll-behavior</code>' property is '<code title=scroll-behavior-smooth>smooth</code>'
393+
'<span>scroll-behavior</span>' property is '<span title=scroll-behavior-smooth>smooth</span>'
394394
<li><p><var title>behavior</var> is <code title>smooth</code>
395395
</ul>
396396
<p>...then follow these substeps:
@@ -1396,7 +1396,7 @@ <h2>CSS properties</h2>
13961396

13971397
<p class=XXX>The features in this section should be moved to some other specification.
13981398

1399-
<h3>Smooth Scrolling: The '<code title>scroll-behavior</code>' Property</h3>
1399+
<h3>Smooth Scrolling: The 'scroll-behavior' Property</h3>
14001400

14011401
<pre class=propdef>
14021402
Name: <dfn>scroll-behavior</dfn>
@@ -1410,15 +1410,15 @@ <h3>Smooth Scrolling: The '<code title>scroll-behavior</code>' Property</h3>
14101410
Canonical Order: per grammar
14111411
</pre>
14121412

1413-
<p>The '<code>scroll-behavior</code>' property specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling
1413+
<p>The '<span>scroll-behavior</span>' property specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling
14141414
APIs. Scrolls that are performed by the user are not affected by this property. When this property is specified on the root element, it applies to the
14151415
<span>viewport</span> instead.
14161416

14171417
<dl>
1418-
<dt>'<dfn title=scroll-behavior-instant><code>instant</code></dfn>'
1418+
<dt>'<dfn title=scroll-behavior-instant>instant</dfn>'
14191419
<dd><p>The scrolling box is scrolled in an instant fashion.
14201420

1421-
<dt>'<dfn title=scroll-behavior-smooth><code>smooth</code></dfn>'
1421+
<dt>'<dfn title=scroll-behavior-smooth>smooth</dfn>'
14221422
<dd><p>The scrolling box is scrolled in a smooth fashion using a user agent-defined timing function over a user agent-defined period of time. User agents
14231423
should follow platform convensions, if any.
14241424
</dl>

0 commit comments

Comments
 (0)