Skip to content

Commit 77803dc

Browse files
Use document.scrollingElement where appropriate (w3c#33)
Fixes w3c#14
1 parent 6ca3061 commit 77803dc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,9 @@ not by wall-clock time, but by the progress of scrolling in a [=scroll container
379379
:: The scrollable element whose scrolling triggers the activation and drives the
380380
progress of the timeline.
381381

382-
If this is not specified, the document element of the [=active document=] for the
383-
current [=browsing context=], as determined at the time the {{ScrollTimeline}} is
384-
constructed, is used.
382+
If this is not specified, the {{scrollingElement}} of the [=active document=]
383+
for the current [=browsing context=], as determined at the time the
384+
{{ScrollTimeline}} is constructed, is used.
385385

386386
Note that the {{scrollSource}}'s {{ownerDocument}} may change over the lifetime
387387
of the scroll timeline. This does not affect the scroll timeline; the timeline

0 commit comments

Comments
 (0)