diff options
Diffstat (limited to 'Source/WebCore/html/HTMLElement.idl')
-rw-r--r-- | Source/WebCore/html/HTMLElement.idl | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Source/WebCore/html/HTMLElement.idl b/Source/WebCore/html/HTMLElement.idl index 308010f40..8d5a0688d 100644 --- a/Source/WebCore/html/HTMLElement.idl +++ b/Source/WebCore/html/HTMLElement.idl @@ -22,13 +22,15 @@ module html { interface [ JSGenerateToNativeObject, - JSCustomPushEventHandlerScope + JSCustomPushEventHandlerScope, + V8CustomToJSObject ] HTMLElement : Element { // iht.com relies on id returning the empty string when no id is present. // Other browsers do this as well. So we don't convert null to JS null. attribute [Reflect] DOMString id; attribute [Reflect] DOMString title; attribute [Reflect] DOMString lang; + attribute boolean translate; attribute [Reflect] DOMString dir; attribute [Reflect=class] DOMString className; readonly attribute DOMTokenList classList; @@ -49,14 +51,14 @@ module html { attribute [TreatNullAs=NullString] DOMString outerText setter raises(DOMException); - Element insertAdjacentElement(in [Optional=CallWithDefaultValue] DOMString where, - in [Optional=CallWithDefaultValue] Element element) + Element insertAdjacentElement(in [Optional=DefaultIsUndefined] DOMString where, + in [Optional=DefaultIsUndefined] Element element) raises(DOMException); - void insertAdjacentHTML(in [Optional=CallWithDefaultValue] DOMString where, - in [Optional=CallWithDefaultValue] DOMString html) + void insertAdjacentHTML(in [Optional=DefaultIsUndefined] DOMString where, + in [Optional=DefaultIsUndefined] DOMString html) raises(DOMException); - void insertAdjacentText(in [Optional=CallWithDefaultValue] DOMString where, - in [Optional=CallWithDefaultValue] DOMString text) + void insertAdjacentText(in [Optional=DefaultIsUndefined] DOMString where, + in [Optional=DefaultIsUndefined] DOMString text) raises(DOMException); readonly attribute HTMLCollection children; @@ -88,6 +90,8 @@ module html { #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C readonly attribute DOMString titleDisplayString; #endif + + void click(); }; } |