Bug 1510171 [wpt PR 14251] - Update interfaces/scroll-animations.idl, a=testonly
authorautofoolip <auto@foolip.org>
Fri, 30 Nov 2018 18:03:49 +0000
changeset 450005 439cdb123e3ee4eff652d1f5574501ae430e9945
parent 450004 767304baa90a1e49dd38ff423eafe8ddcbc82d26
child 450006 967ed6bef1869af3416076d48755144e3a93aff7
push id110435
push userjames@hoppipolla.co.uk
push dateTue, 11 Dec 2018 15:53:47 +0000
treeherdermozilla-inbound@add833a587f5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1510171, 14251
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1510171 [wpt PR 14251] - Update interfaces/scroll-animations.idl, a=testonly Automatic update from web-platform-tests Update interfaces/scroll-animations.idl (#14251) Source: https://github.com/tidoust/reffy-reports/blob/6f56f1e/whatwg/idl/scroll-animations.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/460112731 -- wpt-commits: 0febd7959b4a5e68e762a920a8f51f8ef473141e wpt-pr: 14251
testing/web-platform/tests/interfaces/scroll-animations.idl
--- a/testing/web-platform/tests/interfaces/scroll-animations.idl
+++ b/testing/web-platform/tests/interfaces/scroll-animations.idl
@@ -8,25 +8,26 @@ enum ScrollDirection {
   "inline",
   "horizontal",
   "vertical"
 };
 
 enum ScrollTimelineAutoKeyword { "auto" };
 
 dictionary ScrollTimelineOptions {
-  Element scrollSource;
+  Element? scrollSource = null;
   ScrollDirection orientation = "block";
   DOMString startScrollOffset = "auto";
   DOMString endScrollOffset = "auto";
   (double or ScrollTimelineAutoKeyword) timeRange = "auto";
   FillMode fill = "none";
 };
 
-[Constructor(optional ScrollTimelineOptions options)]
+[Exposed=Window,
+ Constructor(optional ScrollTimelineOptions options)]
 interface ScrollTimeline : AnimationTimeline {
   readonly attribute Element scrollSource;
   readonly attribute ScrollDirection orientation;
   readonly attribute DOMString startScrollOffset;
   readonly attribute DOMString endScrollOffset;
   readonly attribute (double or ScrollTimelineAutoKeyword) timeRange;
   readonly attribute FillMode fill;
 };