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 -->
This commit is contained in:
bors-servo 2016-01-10 02:38:34 +05:30
commit 42eee54967
2 changed files with 3 additions and 6 deletions

View file

@ -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();

View file

@ -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);