Skip to content

Commit 4e49dff

Browse files
AtkinsSJsvgeesus
authored andcommitted
[cssom-view] Update element scroll steps to use new tuple value
1 parent af8661b commit 4e49dff

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
@@ -2362,8 +2362,8 @@ Whenever an element gets scrolled (whether in response to user interaction or by
23622362
for the element with the element's <a spec="css-scroll-snap-2">eventual snap target</a> in the block axis
23632363
as newBlockTarget and the element's <a spec="css-scroll-snap-2">eventual snap target</a> in the inline axis
23642364
as newInlineTarget.
2365-
1. If the element is already in <var>doc</var>'s <a>pending scroll events</a>, abort these steps.
2366-
1. Append the element to <var>doc</var>'s <a>pending scroll events</a>.
2365+
1. If (<var>element</var>, <code>"scroll"</code>) is already in <var>doc</var>'s <a>pending scroll events</a>, abort these steps.
2366+
1. Append (<var>element</var>, <code>"scroll"</code>) to <var>doc</var>'s <a>pending scroll events</a>.
23672367

23682368
Whenever a <a>visual viewport</a> gets scrolled (whether in response to user interaction or by an API), the user agent must run these steps:
23692369

0 commit comments

Comments
 (0)