Auto merge of #7745 - frewsxcv:html-option-element-selected, r=nox

Implement <option> 'defaultSelected' and 'selected' attributes

Continued from #7743

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7745)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-09-28 15:46:48 -06:00
commit 8547d132f9
6 changed files with 111 additions and 124 deletions

View file

@ -11,8 +11,8 @@ interface HTMLOptionElement : HTMLElement {
attribute boolean disabled;
//readonly attribute HTMLFormElement? form;
attribute DOMString label;
// attribute boolean defaultSelected;
// attribute boolean selected;
attribute boolean defaultSelected;
attribute boolean selected;
attribute DOMString value;
attribute DOMString text;