Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: third_party/WebKit/Source/core/animation/ScrollTimelineOptions.idl

Issue 2873493002: Basic ScrollTimeline implementation for Animation Worklet (Closed)
Patch Set: Add helper method in tests for creating options Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // https://wicg.github.io/scroll-animations/#dictdef-scrolltimelineoptions
6
7 enum ScrollDirection {
8 "auto",
9 "block",
10 "inline",
11 };
12
13 enum ScrollTimelineAutoKeyword { "auto" };
14
15 dictionary ScrollTimelineOptions {
16 Element scrollSource;
17 ScrollDirection orientation = "auto";
18 (double or ScrollTimelineAutoKeyword) timeRange = "auto";
19 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698