Skip to content

Commit 03d5ca8

Browse files
author
Simon Pieters
committed
[cssom-view] Editorial: wording tweak
1 parent b56dc16 commit 03d5ca8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

cssom-view/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,8 @@ <h3 id="scrolling"><span class="secno">4.1 </span>Scrolling</h3>
486486
<ol>
487487
<li><p>Let <var>viewport</var> be the <a href="#viewport">viewport</a> that is associated with <var>document</var>. <!-- This assumes that there is a viewport, since
488488
it is only invoked when navigating -->
489-
<li><p>Let <var>position</var> be the the scroll position the <a href="#viewport">viewport</a> would have by aligning the <a href="#beginning-edges">beginning edges</a> of the
490-
<a href="#scrolling-area">scrolling area</a> with the <a href="#beginning-edges">beginning edges</a> of the <a href="#viewport">viewport</a>.
489+
<li><p>Let <var>position</var> be the the scroll position <var>viewport</var> would have by aligning the <a href="#beginning-edges">beginning edges</a> of the
490+
<a href="#scrolling-area">scrolling area</a> with the <a href="#beginning-edges">beginning edges</a> of <var>viewport</var>.
491491
<li><p>If <var>position</var> is the same as <var>viewport</var>'s current scroll position, and <var>viewport</var> does not have an ongoing
492492
<a href="#concept-smooth-scroll" title="concept-smooth-scroll">smooth scroll</a>, abort these steps.
493493
<li><p>Let <var>task</var> be these steps:

cssom-view/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ <h3>Scrolling</h3>
448448
<ol>
449449
<li><p>Let <var>viewport</var> be the <span>viewport</span> that is associated with <var>document</var>. <!-- This assumes that there is a viewport, since
450450
it is only invoked when navigating -->
451-
<li><p>Let <var>position</var> be the the scroll position the <span>viewport</span> would have by aligning the <span>beginning edges</span> of the
452-
<span>scrolling area</span> with the <span>beginning edges</span> of the <span>viewport</span>.
451+
<li><p>Let <var>position</var> be the the scroll position <var>viewport</var> would have by aligning the <span>beginning edges</span> of the
452+
<span>scrolling area</span> with the <span>beginning edges</span> of <var>viewport</var>.
453453
<li><p>If <var>position</var> is the same as <var>viewport</var>'s current scroll position, and <var>viewport</var> does not have an ongoing
454454
<span title=concept-smooth-scroll>smooth scroll</span>, abort these steps.
455455
<li><p>Let <var>task</var> be these steps:

0 commit comments

Comments
 (0)