Skip to content

Commit c1f0b3c

Browse files
committed
Avoid clobbering 'element' parameter
1 parent af90ce8 commit c1f0b3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cssom-view-1/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,8 +1417,8 @@ a <a>scrolling box</a> <var>scrolling box</var>, in order of innermost to outerm
14171417
<dt>If <var>scrolling box</var> is associated with a <a>viewport</a>
14181418
<dd>
14191419
1. Let <var>document</var> be the <a>viewport’s</a> associated {{Document}}.
1420-
1. Let <var>element</var> be <var>document</var>'s root element, if there is one, or null otherwise.
1421-
1. <a for="viewport">Perform a scroll</a> of the <a>viewport</a> to <var>position</var>, with <var>element</var> as the associated element and <var>behavior</var>
1420+
1. Let <var>root element</var> be <var>document</var>'s root element, if there is one, or null otherwise.
1421+
1. <a for="viewport">Perform a scroll</a> of the <a>viewport</a> to <var>position</var>, with <var>root element</var> as the associated element and <var>behavior</var>
14221422
as the scroll behavior.
14231423
</dl>
14241424

0 commit comments

Comments
 (0)