gecko-dev/testing/web-platform/tests/interfaces/scroll-animations.idl
autofoolip 167e00fc9e Bug 1627401 [wpt PR 22700] - Update interfaces/scroll-animations.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/scroll-animations.idl (#22700)

Source: https://github.com/tidoust/reffy-reports/blob/182e80e/ed/idl/scroll-animations.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/670813502
--

wpt-commits: b21ccc1e53e9d50282b8c20e8ca22070f174b064
wpt-pr: 22700
2020-04-09 10:35:46 +00:00

31 lines
934 B
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://drafts.csswg.org/scroll-animations-1/)
enum ScrollDirection {
"block",
"inline",
"horizontal",
"vertical"
};
enum ScrollTimelineAutoKeyword { "auto" };
dictionary ScrollTimelineOptions {
Element? source = null;
ScrollDirection orientation = "block";
DOMString start = "auto";
DOMString end = "auto";
(double or ScrollTimelineAutoKeyword) timeRange = "auto";
};
[Exposed=Window]
interface ScrollTimeline : AnimationTimeline {
constructor(optional ScrollTimelineOptions options = {});
readonly attribute Element source;
readonly attribute ScrollDirection orientation;
readonly attribute DOMString start;
readonly attribute DOMString end;
readonly attribute (double or ScrollTimelineAutoKeyword) timeRange;
};