Skip to content

Commit c38bef4

Browse files
committed
[cssom-view] Fix some bikeshed errors.
1 parent cce3e81 commit c38bef4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

cssom-view-1/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ means to run these steps:
18351835
1. Let <var>ancestorPromises</var> be an empty set of {{Promise}}s.
18361836
1. For each ancestor element or <a>viewport</a> that establishes a <a>scrolling box</a> <var>scrolling box</var>,
18371837
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>,
18391839
abort any remaining iteration of this loop.
18401840
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|,
18411841
<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
23932393
1. Otherwise, if <var>type</var> is <code>"scrollsnapchange"</code>, then:
23942394
1. Let |blockTarget| and |inlineTarget| be null initially.
23952395
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>.
23972397
1. Otherwise, set |blockTarget| to that <a>scrollsnapchangeTargetBlock</a>.
23982398
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>.
24002400
1. Otherwise, Set |inlineTarget| to that <a>scrollsnapchangeTargetInline</a>.
24012401
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.
24042404
1. Otherwise, if <var>type</var> is <code>"scrollsnapchanging"</code>, then:
24052405
1. Let |blockTarget| and |inlineTarget| be null initially.
24062406
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>.
24082408
1. Otherwise, set |blockTarget| to that <a>scrollsnapchanging block-axis target</a>.
24092409
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>.
24112411
1. Otherwise, set |inlineTarget| to that <a>scrollsnapchanging inline-axis target</a>.
24122412
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.
24152415
1. Otherwise, <a>fire an event</a> named <var>type</var> at <var>target</var>.
24162416
1. Empty <var>doc</var>'s <a>pending scroll events</a>.
24172417

0 commit comments

Comments
 (0)