mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +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:
14
Libraries/LibWeb/HTML/HTMLInputElement.idl
Normal file
14
Libraries/LibWeb/HTML/HTMLInputElement.idl
Normal file
@@ -0,0 +1,14 @@
|
||||
interface HTMLInputElement : HTMLElement {
|
||||
|
||||
[Reflect] attribute DOMString accept;
|
||||
[Reflect] attribute DOMString alt;
|
||||
[Reflect] attribute DOMString max;
|
||||
[Reflect] attribute DOMString min;
|
||||
[Reflect] attribute DOMString pattern;
|
||||
[Reflect] attribute DOMString placeholder;
|
||||
[Reflect] attribute DOMString src;
|
||||
[Reflect] attribute DOMString step;
|
||||
[Reflect=dirname] attribute DOMString dirName;
|
||||
[Reflect=value] attribute DOMString defaultValue;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user