You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cssom-view-1/Overview.bs
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1835,7 +1835,7 @@ means to run these steps:
1835
1835
1. Let <var>ancestorPromises</var> be an empty set of {{Promise}}s.
1836
1836
1. For each ancestor element or <a>viewport</a> that establishes a <a>scrolling box</a><var>scrolling box</var>,
1837
1837
in order of innermost to outermost <a>scrolling box</a>, run these substeps:
1838
-
1. If the {{Document}} associated with <var>target</var> is not <a>same origin</a> with the {{Document}} associated with the element or <a>viewport</a> associated with <var>scrolling box</var>,
1838
+
1. If the {{Document}} associated with <var>target</var> is not <a>same origin</a> with the {{Document}} associated with the element or <a>viewport</a> associated with <var>scrolling box</var>,
1839
1839
abort any remaining iteration of this loop.
1840
1840
1. Let <var>position</var> be the scroll position resulting from running the steps to <a>determine the scroll-into-view position</a> of <var>target</var> with <var>behavior</var> as the |scroll behavior|,
1841
1841
<var>block</var> as the |block flow position|, <var>inline</var> as the |inline base direction position| and <var>scrolling box</var> as the |scrolling box|.
@@ -2393,25 +2393,25 @@ Issue: In what order are scrollend events dispatched? Ordered based on scroll st
2393
2393
1. Otherwise, if <var>type</var> is <code>"scrollsnapchange"</code>, then:
2394
2394
1. Let |blockTarget| and |inlineTarget| be null initially.
2395
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>.
2396
+
set |blockTarget| to the owning element of that <a>scrollsnapchangeTargetBlock</a>.
2397
2397
1. Otherwise, set |blockTarget| to that <a>scrollsnapchangeTargetBlock</a>.
2398
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>.
2399
+
set |inlineTarget| to the owning element of that <a>scrollsnapchangeTargetInline</a>.
2400
2400
1. Otherwise, Set |inlineTarget| to that <a>scrollsnapchangeTargetInline</a>.
2401
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.
2402
+
and let |snapevent|'s {{SnapEvent/snapTargetBlock}} and
2403
+
{{SnapEvent/snapTargetInline}} attributes be |blockTarget| and |inlineTarget| respectively.
2404
2404
1. Otherwise, if <var>type</var> is <code>"scrollsnapchanging"</code>, then:
2405
2405
1. Let |blockTarget| and |inlineTarget| be null initially.
2406
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>.
2407
+
set |blockTarget| to the owning element of that <a>scrollsnapchanging block-axis target</a>.
2408
2408
1. Otherwise, set |blockTarget| to that <a>scrollsnapchanging block-axis target</a>.
2409
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>.
2410
+
set |inlineTarget| to the owning element of that <a>scrollsnapchanging inline-axis target</a>.
2411
2411
1. Otherwise, set |inlineTarget| to that <a>scrollsnapchanging inline-axis target</a>.
2412
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.
2413
+
and let |snapevent|'s {{SnapEvent/snapTargetBlock}} and
2414
+
{{SnapEvent/snapTargetInline}} attributes be |blockTarget| and |inlineTarget|, respectively.
2415
2415
1. Otherwise, <a>fire an event</a> named <var>type</var> at <var>target</var>.
0 commit comments