From a1795a54d045ac122af3bbebac058b2f3ba07f19 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Fri, 8 Jan 2016 20:37:30 -0500 Subject: [PATCH 1/2] Update HTMLFieldSetElement WebIDL to match spec https://github.com/whatwg/html/pull/413 https://html.spec.whatwg.org/multipage/#htmlfieldsetelement --- components/script/dom/webidls/HTMLFieldSetElement.webidl | 7 ++----- 1 file changed, 2 insertions(+), 5 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(); From 8f35652f259e5edfed2fa41669e657e738b8d278 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Fri, 8 Jan 2016 20:38:41 -0500 Subject: [PATCH 2/2] Update HTMLFormElement WebIDL to match spec https://html.spec.whatwg.org/multipage/#htmlformelement --- components/script/dom/webidls/HTMLFormElement.webidl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);