mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:17:34 +00:00
LibWeb: Add Animatable interface to Element
This commit is contained in:
parent
bb527c4351
commit
dd1fd5fe47
2 changed files with 6 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibWeb/ARIA/ARIAMixin.h>
|
||||
#include <LibWeb/Animations/Animatable.h>
|
||||
#include <LibWeb/Bindings/ElementPrototype.h>
|
||||
#include <LibWeb/Bindings/Intrinsics.h>
|
||||
#include <LibWeb/Bindings/ShadowRootPrototype.h>
|
||||
|
@ -67,7 +68,8 @@ class Element
|
|||
, public ChildNode<Element>
|
||||
, public NonDocumentTypeChildNode<Element>
|
||||
, public SlottableMixin
|
||||
, public ARIA::ARIAMixin {
|
||||
, public ARIA::ARIAMixin
|
||||
, public Animations::Animatable {
|
||||
WEB_PLATFORM_OBJECT(Element, ParentNode);
|
||||
|
||||
public:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#import <Animations/Animatable.idl>
|
||||
#import <ARIA/ARIAMixin.idl>
|
||||
#import <DOM/Attr.idl>
|
||||
#import <DOM/ChildNode.idl>
|
||||
|
@ -105,3 +106,5 @@ Element includes InnerHTML;
|
|||
// https://www.w3.org/TR/wai-aria-1.2/#idl_element
|
||||
Element includes ARIAMixin;
|
||||
Element includes Slottable;
|
||||
// https://www.w3.org/TR/web-animations-1/#extensions-to-the-element-interface
|
||||
Element includes Animatable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue