mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
LibWeb/CSS: Add the TransitionEvent type
This commit is contained in:
parent
56e6d4f42d
commit
55b4a983a7
Notes:
github-actions[bot]
2024-12-25 16:15:39 +00:00
Author: https://github.com/LucasChollet
Commit: 55b4a983a7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3024
8 changed files with 379 additions and 0 deletions
16
Libraries/LibWeb/CSS/TransitionEvent.idl
Normal file
16
Libraries/LibWeb/CSS/TransitionEvent.idl
Normal file
|
@ -0,0 +1,16 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
// https://drafts.csswg.org/css-transitions/#transitionevent
|
||||
[Exposed=Window]
|
||||
interface TransitionEvent : Event {
|
||||
constructor(CSSOMString type, optional TransitionEventInit transitionEventInitDict = {});
|
||||
readonly attribute CSSOMString propertyName;
|
||||
readonly attribute double elapsedTime;
|
||||
readonly attribute CSSOMString pseudoElement;
|
||||
};
|
||||
|
||||
dictionary TransitionEventInit : EventInit {
|
||||
CSSOMString propertyName = "";
|
||||
double elapsedTime = 0.0;
|
||||
CSSOMString pseudoElement = "";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue