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:
parent
cce50b1841
commit
52d6df5ee5
6 changed files with 78 additions and 0 deletions
9
Userland/Libraries/LibWeb/MathML/MathMLElement.idl
Normal file
9
Userland/Libraries/LibWeb/MathML/MathMLElement.idl
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue