1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07:44 +00:00

LibWeb: Add the HTMLOrSVGElement IDL interface mixin

This commit is contained in:
Idan Horowitz 2022-03-30 23:53:56 +03:00 committed by Andreas Kling
parent 46fa18657c
commit 1577bac6a5
2 changed files with 9 additions and 5 deletions

View file

@ -22,9 +22,6 @@ interface HTMLElement : Element {
readonly attribute long offsetWidth;
readonly attribute long offsetHeight;
// FIXME: This should come from a HTMLOrSVGElement mixin
[SameObject] readonly attribute DOMStringMap dataset;
// FIXME: These should all come from a GlobalEventHandlers mixin
attribute EventHandler onabort;
attribute EventHandler onauxclick;
@ -97,3 +94,9 @@ interface HTMLElement : Element {
attribute EventHandler onwheel;
};
HTMLElement includes HTMLOrSVGElement;
interface mixin HTMLOrSVGElement {
[SameObject] readonly attribute DOMStringMap dataset;
};