mirror of
https://github.com/servo/servo
synced 2026-04-28 10:27:40 +02:00
Add HTMLConstructor attributes where needed
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmloptionelement
|
||||
//[NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
|
||||
// optional boolean defaultSelected = false,
|
||||
// optional boolean selected = false)]
|
||||
[HTMLConstructor/*, NamedConstructor=Option(optional DOMString text = "", optional DOMString value,
|
||||
optional boolean defaultSelected = false,
|
||||
optional boolean selected = false)*/]
|
||||
interface HTMLOptionElement : HTMLElement {
|
||||
attribute boolean disabled;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
|
||||
Reference in New Issue
Block a user