Bug 1643111 [wpt PR 23959] - Update interfaces/scroll-animations.idl, a=testonly

Automatic update from web-platform-tests
Update interfaces/scroll-animations.idl (#23959)

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

wpt-commits: 7b2dc30ba70747f21a0ca762c43c75436a180712
wpt-pr: 23959
This commit is contained in:
autofoolip 2020-06-10 11:25:41 +00:00 committed by moz-wptsync-bot
parent 7104630e7e
commit 06968e7e8b

View File

@ -15,8 +15,8 @@ enum ScrollTimelineAutoKeyword { "auto" };
dictionary ScrollTimelineOptions {
Element? source = null;
ScrollDirection orientation = "block";
DOMString start = "auto";
DOMString end = "auto";
(DOMString or ElementBasedOffset) start = "auto";
(DOMString or ElementBasedOffset) end = "auto";
(double or ScrollTimelineAutoKeyword) timeRange = "auto";
};
@ -29,3 +29,10 @@ interface ScrollTimeline : AnimationTimeline {
readonly attribute DOMString end;
readonly attribute (double or ScrollTimelineAutoKeyword) timeRange;
};
enum Edge { "start", "end" };
dictionary ElementBasedOffset {
Element target;
Edge edge = "start";
};