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

LibWeb: Add the MathML Element

This patch introduces the MathML element, which provides the interface
all MathML elements are built from.
This commit is contained in:
Jonah 2023-07-05 20:24:51 -05:00 committed by Sam Atkins
parent cce50b1841
commit 52d6df5ee5
6 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,9 @@
#import <DOM/Element.idl>
#import <DOM/EventHandler.idl>
#import <HTML/HTMLElement.idl>
// https://w3c.github.io/mathml-core/#dom-and-javascript
[Exposed=Window]
interface MathMLElement : Element { };
MathMLElement includes GlobalEventHandlers;
MathMLElement includes HTMLOrSVGElement; // FIXME: We technically use HTMLOrForeignElement which is a rename of HTMLOrSVGElement, when that change is upstreamed we should update here