mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
Add form getters for additional elements; update test expectations
This adds form getters for fieldset, label, object, output, select and textarea elements.
This commit is contained in:
parent
a1fb8cfbb0
commit
8d67914c7f
14 changed files with 83 additions and 61 deletions
|
@ -6,7 +6,7 @@
|
|||
// https://www.whatwg.org/html/#htmlfieldsetelement
|
||||
interface HTMLFieldSetElement : HTMLElement {
|
||||
attribute boolean disabled;
|
||||
//readonly attribute HTMLFormElement? form;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
// attribute DOMString name;
|
||||
|
||||
//readonly attribute DOMString type;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
// https://www.whatwg.org/html/#htmllabelelement
|
||||
interface HTMLLabelElement : HTMLElement {
|
||||
//readonly attribute HTMLFormElement? form;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
// attribute DOMString htmlFor;
|
||||
//readonly attribute HTMLElement? control;
|
||||
};
|
||||
|
|
|
@ -10,7 +10,7 @@ interface HTMLObjectElement : HTMLElement {
|
|||
// attribute boolean typeMustMatch;
|
||||
// attribute DOMString name;
|
||||
// attribute DOMString useMap;
|
||||
//readonly attribute HTMLFormElement? form;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
// attribute DOMString width;
|
||||
// attribute DOMString height;
|
||||
//readonly attribute Document? contentDocument;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// https://www.whatwg.org/html/#htmloutputelement
|
||||
interface HTMLOutputElement : HTMLElement {
|
||||
//[PutForwards=value] readonly attribute DOMSettableTokenList htmlFor;
|
||||
//readonly attribute HTMLFormElement? form;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
// attribute DOMString name;
|
||||
|
||||
//readonly attribute DOMString type;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
interface HTMLSelectElement : HTMLElement {
|
||||
// attribute boolean autofocus;
|
||||
attribute boolean disabled;
|
||||
//readonly attribute HTMLFormElement? form;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
attribute boolean multiple;
|
||||
attribute DOMString name;
|
||||
// attribute boolean required;
|
||||
|
|
|
@ -11,7 +11,7 @@ interface HTMLTextAreaElement : HTMLElement {
|
|||
attribute unsigned long cols;
|
||||
// attribute DOMString dirName;
|
||||
attribute boolean disabled;
|
||||
//readonly attribute HTMLFormElement? form;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
// attribute DOMString inputMode;
|
||||
// attribute long maxLength;
|
||||
// attribute long minLength;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue