@@ -2391,27 +2391,27 @@ Issue: In what order are scrollend events dispatched? Ordered based on scroll st
23912391 1. If <var> target</var> is a {{Document}} , and <var> type</var> is <code> "scroll"</code> or <code> "scrollend"</code> ,
23922392 <a>fire an event</a> named <var> type</var> that bubbles at <var> target</var> .
23932393 1. Otherwise, if <var> type</var> is <code> "scrollsnapchange"</code> , then:
2394- 1. Let |blockTarget| and |inlineTarget| be null initially.
2395- 1. If the <a>scrollsnapchangeTargetBlock</a> associated with <var> target</var> is a pseudo-element,
2396- set |blockTarget| to the owning element of that <a>scrollsnapchangeTargetBlock</a> .
2397- 1. Otherwise, set |blockTarget| to that <a>scrollsnapchangeTargetBlock</a> .
2398- 1. If the <a>scrollsnapchangeTargetInline</a> associated with <var> target</var> is a pseudo-element,
2399- set |inlineTarget| to the owning element of that <a>scrollsnapchangeTargetInline</a> .
2400- 1. Otherwise, Set |inlineTarget| to that <a>scrollsnapchangeTargetInline</a> .
2401- 1. Fire a {{SnapEvent}} , |snapevent|, named {{scrollsnapchange}} at <var> target</var>
2402- and let |snapevent|'s {{SnapEvent/snapTargetBlock}} and
2403- {{SnapEvent/snapTargetInline}} attributes be |blockTarget| and |inlineTarget| respectively.
2394+ 1. Let |blockTarget| and |inlineTarget| be null initially.
2395+ 1. If the <a>scrollsnapchangeTargetBlock</a> associated with <var> target</var> is a pseudo-element,
2396+ set |blockTarget| to the owning element of that <a>scrollsnapchangeTargetBlock</a> .
2397+ 1. Otherwise, set |blockTarget| to that <a>scrollsnapchangeTargetBlock</a> .
2398+ 1. If the <a>scrollsnapchangeTargetInline</a> associated with <var> target</var> is a pseudo-element,
2399+ set |inlineTarget| to the owning element of that <a>scrollsnapchangeTargetInline</a> .
2400+ 1. Otherwise, Set |inlineTarget| to that <a>scrollsnapchangeTargetInline</a> .
2401+ 1. Fire a {{SnapEvent}} , |snapevent|, named {{scrollsnapchange}} at <var> target</var>
2402+ and let |snapevent|'s {{SnapEvent/snapTargetBlock}} and
2403+ {{SnapEvent/snapTargetInline}} attributes be |blockTarget| and |inlineTarget| respectively.
24042404 1. Otherwise, if <var> type</var> is <code> "scrollsnapchanging"</code> , then:
2405- 1. Let |blockTarget| and |inlineTarget| be null initially.
2406- 1. If the <a>scrollsnapchanging block-axis target</a> associated with <var> target</var> is a pseudo-element,
2407- set |blockTarget| to the owning element of that <a>scrollsnapchanging block-axis target</a> .
2408- 1. Otherwise, set |blockTarget| to that <a>scrollsnapchanging block-axis target</a> .
2409- 1. If the <a>scrollsnapchanging inline-axis target</a> associated with <var> target</var> is a pseudo-element,
2410- set |inlineTarget| to the owning element of that <a>scrollsnapchanging inline-axis target</a> .
2411- 1. Otherwise, set |inlineTarget| to that <a>scrollsnapchanging inline-axis target</a> .
2412- 1. Fire a {{SnapEvent}} , |snapevent|, named {{scrollsnapchanging}} at <var> target</var>
2413- and let |snapevent|'s {{SnapEvent/snapTargetBlock}} and
2414- {{SnapEvent/snapTargetInline}} attributes be |blockTarget| and |inlineTarget|, respectively.
2405+ 1. Let |blockTarget| and |inlineTarget| be null initially.
2406+ 1. If the <a>scrollsnapchanging block-axis target</a> associated with <var> target</var> is a pseudo-element,
2407+ set |blockTarget| to the owning element of that <a>scrollsnapchanging block-axis target</a> .
2408+ 1. Otherwise, set |blockTarget| to that <a>scrollsnapchanging block-axis target</a> .
2409+ 1. If the <a>scrollsnapchanging inline-axis target</a> associated with <var> target</var> is a pseudo-element,
2410+ set |inlineTarget| to the owning element of that <a>scrollsnapchanging inline-axis target</a> .
2411+ 1. Otherwise, set |inlineTarget| to that <a>scrollsnapchanging inline-axis target</a> .
2412+ 1. Fire a {{SnapEvent}} , |snapevent|, named {{scrollsnapchanging}} at <var> target</var>
2413+ and let |snapevent|'s {{SnapEvent/snapTargetBlock}} and
2414+ {{SnapEvent/snapTargetInline}} attributes be |blockTarget| and |inlineTarget|, respectively.
24152415 1. Otherwise, <a>fire an event</a> named <var> type</var> at <var> target</var> .
241624161. Empty <var> doc</var> 's <a>pending scroll events</a> .
24172417
0 commit comments