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; //readonly attribute DOMString type;
//HTMLFormControlsCollection: https://github.com/servo/servo/issues/8566 [SameObject] readonly attribute HTMLCollection elements;
//readonly attribute HTMLFormControlsCollection elements;
readonly attribute HTMLCollection elements;
//readonly attribute boolean willValidate; //readonly attribute boolean willValidate;
readonly attribute ValidityState validity; [SameObject] readonly attribute ValidityState validity;
//readonly attribute DOMString validationMessage; //readonly attribute DOMString validationMessage;
//boolean checkValidity(); //boolean checkValidity();
//boolean reportValidity(); //boolean reportValidity();

View file

@ -16,7 +16,7 @@ interface HTMLFormElement : HTMLElement {
attribute boolean noValidate; attribute boolean noValidate;
attribute DOMString target; attribute DOMString target;
//readonly attribute HTMLFormControlsCollection elements; //[SameObject] readonly attribute HTMLFormControlsCollection elements;
//readonly attribute long length; //readonly attribute long length;
//getter Element (unsigned long index); //getter Element (unsigned long index);
//getter (RadioNodeList or Element) (DOMString name); //getter (RadioNodeList or Element) (DOMString name);