mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Functionality in atypical writing mode contexts is currently lacking due to larger issues around how we handle scrolling in these contexts.
19 lines
588 B
Plaintext
19 lines
588 B
Plaintext
#import <DOM/Element.idl>
|
|
|
|
// https://drafts.csswg.org/scroll-animations-1/#scrolltimeline
|
|
[Exposed=Window]
|
|
interface ScrollTimeline : AnimationTimeline {
|
|
constructor(optional ScrollTimelineOptions options = {});
|
|
readonly attribute Element? source;
|
|
readonly attribute ScrollAxis axis;
|
|
};
|
|
|
|
// https://drafts.csswg.org/scroll-animations-1/#dictdef-scrolltimelineoptions
|
|
dictionary ScrollTimelineOptions {
|
|
Element? source;
|
|
ScrollAxis axis = "block";
|
|
};
|
|
|
|
// https://drafts.csswg.org/scroll-animations-1/#enumdef-scrollaxis
|
|
enum ScrollAxis { "block", "inline", "x", "y" };
|