Files
ladybird/Libraries/LibWeb/Animations/ScrollTimeline.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

17 lines
561 B
Plaintext

// 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" };