mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
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
31 lines
934 B
Text
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;
|
|
};
|