Skip to content

Commit bcd7dbc

Browse files
committed
[cssom-view] Fix scrollend event on document.
As per the comments in #12606.
1 parent 36f0586 commit bcd7dbc

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
@@ -2352,7 +2352,7 @@ Issue: In what order are scrollend events dispatched? Ordered based on scroll st
23522352
in the order they were added to the list, run these substeps:
23532353

23542354
1. If <var>target</var> is a {{Document}}, and <var>type</var> is <code>"scroll"</code> or <code>"scrollend"</code>,
2355-
<a>fire an event</a> named <a event>scroll</a> that bubbles at <var>target</var>.
2355+
<a>fire an event</a> named <var>type</var> that bubbles at <var>target</var>.
23562356
1. Otherwise, if <var>type</var> is <code>"scrollsnapchange"</code>, then:
23572357
1. Let |blockTarget| and |inlineTarget| be null initially.
23582358
1. If the <a>scrollsnapchangeTargetBlock</a> associated with <var>target</var> is a pseudo-element,
@@ -2622,4 +2622,4 @@ the Windows Internet Explorer browser.
26222622
scroll-behavior-smooth.html
26232623
scroll-behavior-subframe-root.html
26242624
scroll-behavior-subframe-window.html
2625-
</wpt>
2625+
</wpt>

0 commit comments

Comments
 (0)