aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/script/dom/webidls/HTMLFieldSetElement.webidl7
-rw-r--r--components/script/dom/webidls/HTMLFormElement.webidl2
2 files changed, 3 insertions, 6 deletions
diff --git a/components/script/dom/webidls/HTMLFieldSetElement.webidl b/components/script/dom/webidls/HTMLFieldSetElement.webidl
index 26f319ff108..1a009b523dd 100644
--- a/components/script/dom/webidls/HTMLFieldSetElement.webidl
+++ b/components/script/dom/webidls/HTMLFieldSetElement.webidl
@@ -11,13 +11,10 @@ interface HTMLFieldSetElement : HTMLElement {
//readonly attribute DOMString type;
- //HTMLFormControlsCollection: https://github.com/servo/servo/issues/8566
- //readonly attribute HTMLFormControlsCollection elements;
-
- readonly attribute HTMLCollection elements;
+ [SameObject] readonly attribute HTMLCollection elements;
//readonly attribute boolean willValidate;
- readonly attribute ValidityState validity;
+ [SameObject] readonly attribute ValidityState validity;
//readonly attribute DOMString validationMessage;
//boolean checkValidity();
//boolean reportValidity();
diff --git a/components/script/dom/webidls/HTMLFormElement.webidl b/components/script/dom/webidls/HTMLFormElement.webidl
index e9607b6170e..e2423dcce6c 100644
--- a/components/script/dom/webidls/HTMLFormElement.webidl
+++ b/components/script/dom/webidls/HTMLFormElement.webidl
@@ -16,7 +16,7 @@ interface HTMLFormElement : HTMLElement {
attribute boolean noValidate;
attribute DOMString target;
- //readonly attribute HTMLFormControlsCollection elements;
+ //[SameObject] readonly attribute HTMLFormControlsCollection elements;
//readonly attribute long length;
//getter Element (unsigned long index);
//getter (RadioNodeList or Element) (DOMString name);