OLD | NEW |
(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/#scrolltimeline-interface |
| 6 |
| 7 [ |
| 8 Constructor(optional ScrollTimelineOptions options), |
| 9 ConstructorCallWith=Document, |
| 10 RaisesException=Constructor, |
| 11 RuntimeEnabled=CompositorWorker |
| 12 ] interface ScrollTimeline : AnimationTimeline { |
| 13 readonly attribute Element? scrollSource; |
| 14 readonly attribute ScrollDirection orientation; |
| 15 readonly attribute (double or ScrollTimelineAutoKeyword) timeRange; |
| 16 }; |
OLD | NEW |