diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-01-10 02:38:34 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-01-10 02:38:34 +0530 |
commit | 42eee5496748aa92cd49938a10254fc661c65b69 (patch) | |
tree | 4161a26709a3ab27e6ca259214c1b90e328b00c0 /components/script/dom | |
parent | 2c0f81087bb35fd16daf1ece5452249393475252 (diff) | |
parent | 8f35652f259e5edfed2fa41669e657e738b8d278 (diff) | |
download | servo-42eee5496748aa92cd49938a10254fc661c65b69.tar.gz servo-42eee5496748aa92cd49938a10254fc661c65b69.zip |
Auto merge of #9212 - frewsxcv:webidl-spec-updates, r=KiChjang
Update a couple WebIDL files to match spec
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9212)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/webidls/HTMLFieldSetElement.webidl | 7 | ||||
-rw-r--r-- | components/script/dom/webidls/HTMLFormElement.webidl | 2 |
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); |