mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
LibWeb: Add a whole bunch of HTML DOM bindings
Note that these aren't full implementations of the bindings. This mostly implements the low hanging fruit (namely, basic reflections) There are some attributes that should be USVString instead of DOMString. However, USVString is a slightly different definition of DOMString, so it should suffice for now.
This commit is contained in:
parent
db1b67e88a
commit
a2b40de0cc
44 changed files with 327 additions and 29 deletions
12
Libraries/LibWeb/HTML/HTMLLinkElement.idl
Normal file
12
Libraries/LibWeb/HTML/HTMLLinkElement.idl
Normal file
|
@ -0,0 +1,12 @@
|
|||
interface HTMLLinkElement : HTMLElement {
|
||||
|
||||
[Reflect] attribute DOMString href;
|
||||
[Reflect] attribute DOMString hreflang;
|
||||
[Reflect] attribute DOMString integrity;
|
||||
[Reflect] attribute DOMString media;
|
||||
[Reflect] attribute DOMString rel;
|
||||
[Reflect] attribute DOMString type;
|
||||
[Reflect=imagesrcset] attribute DOMString imageSrcset;
|
||||
[Reflect=imagesizes] attribute DOMString imageSizes;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue