Skip to content

Commit c53446e

Browse files
author
Anders Hartvoll Ruud
committed
[scroll-animations-1] Remove default vaule for ScrollTimelineOptions.source
Follow-up to w3c#5263, which specifies that a "missing" source shall result in using the Document's scrollingElement, but if we give source a default value of null, it can never be missing.
1 parent af79809 commit c53446e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scroll-animations-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ typedef (CSSNumericValue or CSSKeywordish) ContainerBasedOffset;
361361
typedef (ContainerBasedOffset or ElementBasedOffset) ScrollTimelineOffset;
362362

363363
dictionary ScrollTimelineOptions {
364-
Element? source = null;
364+
Element? source;
365365
ScrollDirection orientation = "block";
366366
ScrollTimelineOffset start = "auto";
367367
ScrollTimelineOffset end = "auto";

0 commit comments

Comments
 (0)