Skip to content

Commit 49b47b4

Browse files
authored
[cssom-view-1] Fix a typo in specification of scrollParent (w3c#12724)
1 parent a286b18 commit 49b47b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cssom-view-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ The <dfn attribute for=HTMLElement>scrollParent</dfn> attribute must return the
16341634
* The element is <a>the <code>body</code> element</a>.
16351635
* The element's computed value of the 'position' property is ''position/fixed'' and no ancestor establishes a fixed position [=containing block=].
16361636
1. Let <var>ancestor</var> be the [=containing block=] of the element in the <a>flat tree</a> and repeat these substeps:
1637-
1. If <var>ancestor</var> is the [=initial containing block=], return the {{Document/scrollingElement}} for the element's document if it is not <a>closed-shadow-hidden</a> from the element, otherwise reutrn null.
1637+
1. If <var>ancestor</var> is the [=initial containing block=], return the {{Document/scrollingElement}} for the element's document if it is not <a>closed-shadow-hidden</a> from the element, otherwise return null.
16381638
1. If <var>ancestor</var> is not <a>closed-shadow-hidden</a> from the element, and is a <a>scroll container</a>, terminate this algorithm and return <var>ancestor</var>.
16391639
1. If the computed value of the 'position' property of <var>ancestor</var> is ''position/fixed'', and no ancestor establishes a fixed position [=containing block=], terminate this algorithm and return null.
16401640
1. Let <var>ancestor</var> be the [=containing block=] of <var>ancestor</var> in the <a>flat tree</a>.

0 commit comments

Comments
 (0)