tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

scroll-animations.idl (1000B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: Scroll-driven Animations Module Level 1 (https://drafts.csswg.org/scroll-animations-1/)
      5 
      6 enum ScrollAxis {
      7  "block",
      8  "inline",
      9  "x",
     10  "y"
     11 };
     12 
     13 dictionary ScrollTimelineOptions {
     14  Element? source;
     15  ScrollAxis axis = "block";
     16 };
     17 
     18 [Exposed=Window]
     19 interface ScrollTimeline : AnimationTimeline {
     20  constructor(optional ScrollTimelineOptions options = {});
     21  readonly attribute Element? source;
     22  readonly attribute ScrollAxis axis;
     23 };
     24 
     25 dictionary ViewTimelineOptions {
     26  Element subject;
     27  ScrollAxis axis = "block";
     28  (DOMString or sequence<(CSSNumericValue or CSSKeywordValue)>) inset = "auto";
     29 };
     30 
     31 [Exposed=Window]
     32 interface ViewTimeline : ScrollTimeline {
     33  constructor(optional ViewTimelineOptions options = {});
     34  readonly attribute Element subject;
     35  readonly attribute CSSNumericValue startOffset;
     36  readonly attribute CSSNumericValue endOffset;
     37 };