| OLD | NEW |
| 1 | 1 |
| 2 class HTMLSelectElement extends HTMLElement native "*HTMLSelectElement" { | 2 class HTMLSelectElement extends HTMLElement native "*HTMLSelectElement" { |
| 3 | 3 |
| 4 bool autofocus; | 4 bool get autofocus() native "return this.autofocus;"; |
| 5 | 5 |
| 6 bool disabled; | 6 void set autofocus(bool value) native "this.autofocus = value;"; |
| 7 | 7 |
| 8 HTMLFormElement form; | 8 bool get disabled() native "return this.disabled;"; |
| 9 | 9 |
| 10 NodeList labels; | 10 void set disabled(bool value) native "this.disabled = value;"; |
| 11 | 11 |
| 12 int length; | 12 HTMLFormElement get form() native "return this.form;"; |
| 13 | 13 |
| 14 bool multiple; | 14 NodeList get labels() native "return this.labels;"; |
| 15 | 15 |
| 16 String name; | 16 int get length() native "return this.length;"; |
| 17 | 17 |
| 18 HTMLOptionsCollection options; | 18 void set length(int value) native "this.length = value;"; |
| 19 | 19 |
| 20 bool required; | 20 bool get multiple() native "return this.multiple;"; |
| 21 | 21 |
| 22 int selectedIndex; | 22 void set multiple(bool value) native "this.multiple = value;"; |
| 23 | 23 |
| 24 int size; | 24 String get name() native "return this.name;"; |
| 25 | 25 |
| 26 String type; | 26 void set name(String value) native "this.name = value;"; |
| 27 | 27 |
| 28 String validationMessage; | 28 HTMLOptionsCollection get options() native "return this.options;"; |
| 29 | 29 |
| 30 ValidityState validity; | 30 bool get required() native "return this.required;"; |
| 31 | 31 |
| 32 String value; | 32 void set required(bool value) native "this.required = value;"; |
| 33 | 33 |
| 34 bool willValidate; | 34 int get selectedIndex() native "return this.selectedIndex;"; |
| 35 |
| 36 void set selectedIndex(int value) native "this.selectedIndex = value;"; |
| 37 |
| 38 int get size() native "return this.size;"; |
| 39 |
| 40 void set size(int value) native "this.size = value;"; |
| 41 |
| 42 String get type() native "return this.type;"; |
| 43 |
| 44 String get validationMessage() native "return this.validationMessage;"; |
| 45 |
| 46 ValidityState get validity() native "return this.validity;"; |
| 47 |
| 48 String get value() native "return this.value;"; |
| 49 |
| 50 void set value(String value) native "this.value = value;"; |
| 51 |
| 52 bool get willValidate() native "return this.willValidate;"; |
| 35 | 53 |
| 36 void add(HTMLElement element, HTMLElement before) native; | 54 void add(HTMLElement element, HTMLElement before) native; |
| 37 | 55 |
| 38 bool checkValidity() native; | 56 bool checkValidity() native; |
| 39 | 57 |
| 40 Node item(int index) native; | 58 Node item(int index) native; |
| 41 | 59 |
| 42 Node namedItem(String name) native; | 60 Node namedItem(String name) native; |
| 43 | 61 |
| 44 void remove(var index_OR_option) native; | 62 void remove(var index_OR_option) native; |
| 45 | 63 |
| 46 void setCustomValidity(String error) native; | 64 void setCustomValidity(String error) native; |
| 47 } | 65 } |
| OLD | NEW |