diff options
Diffstat (limited to 'Source/WebCore/html/HTMLOptionElement.idl')
-rw-r--r-- | Source/WebCore/html/HTMLOptionElement.idl | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/Source/WebCore/html/HTMLOptionElement.idl b/Source/WebCore/html/HTMLOptionElement.idl index b7b3489ea..d805392a0 100644 --- a/Source/WebCore/html/HTMLOptionElement.idl +++ b/Source/WebCore/html/HTMLOptionElement.idl @@ -18,25 +18,22 @@ * Boston, MA 02110-1301, USA. */ -module html { - - interface [ - JSGenerateToNativeObject, - NamedConstructor=Option(in [Optional=DefaultIsNullString] DOMString data, in [Optional=DefaultIsNullString] DOMString value, in [Optional=DefaultIsUndefined] boolean defaultSelected, in [Optional=DefaultIsUndefined] boolean selected), - ConstructorRaisesException - ] HTMLOptionElement : HTMLElement { - attribute [Reflect] boolean disabled; - readonly attribute HTMLFormElement form; - attribute DOMString label; - attribute [Reflect=selected] boolean defaultSelected; - attribute boolean selected; - attribute DOMString value; +[ + JSGenerateToNativeObject, + NamedConstructor=Option(in [Optional=DefaultIsNullString] DOMString data, in [Optional=DefaultIsNullString] DOMString value, in [Optional=DefaultIsUndefined] boolean defaultSelected, in [Optional=DefaultIsUndefined] boolean selected), + ConstructorRaisesException +] interface HTMLOptionElement : HTMLElement { + [Reflect] attribute boolean disabled; + readonly attribute HTMLFormElement form; + attribute DOMString label; + [Reflect=selected] attribute boolean defaultSelected; + attribute boolean selected; + attribute DOMString value; #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT - attribute DOMString text setter raises(DOMException); + attribute DOMString text setter raises(DOMException); #else - readonly attribute DOMString text; + readonly attribute DOMString text; #endif - readonly attribute long index; - }; -} + readonly attribute long index; +}; |