gecko-dev/testing/web-platform/tests/interfaces/scroll-animations.idl
autofoolip 87ac577573 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
2018-12-11 15:49:55 +00:00

33 lines
1 KiB
Text

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports)
// Source: Scroll-linked Animations (https://wicg.github.io/scroll-animations/)
enum ScrollDirection {
"block",
"inline",
"horizontal",
"vertical"
};
enum ScrollTimelineAutoKeyword { "auto" };
dictionary ScrollTimelineOptions {
Element? scrollSource = null;
ScrollDirection orientation = "block";
DOMString startScrollOffset = "auto";
DOMString endScrollOffset = "auto";
(double or ScrollTimelineAutoKeyword) timeRange = "auto";
FillMode fill = "none";
};
[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;
};