summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLElement.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLElement.idl')
-rw-r--r--Source/WebCore/html/HTMLElement.idl57
1 files changed, 26 insertions, 31 deletions
diff --git a/Source/WebCore/html/HTMLElement.idl b/Source/WebCore/html/HTMLElement.idl
index 99767fc15..347f11f96 100644
--- a/Source/WebCore/html/HTMLElement.idl
+++ b/Source/WebCore/html/HTMLElement.idl
@@ -19,48 +19,43 @@
*/
[
- JSGenerateToNativeObject,
+ CustomConstructor(),
+ ExportMacro=WEBCORE_EXPORT,
JSCustomPushEventHandlerScope,
+ JSGenerateToNativeObject,
] interface HTMLElement : Element {
-#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
- // FIXME: id should be moved to Element for ObjC as well.
- [Reflect] attribute DOMString id;
-#endif
- [Reflect] attribute DOMString title;
- [Reflect] attribute DOMString lang;
- attribute boolean translate;
- [Reflect] attribute DOMString dir;
+ [CEReactions, Reflect] attribute DOMString title;
+ [CEReactions, Reflect] attribute DOMString lang;
+ [CEReactions] attribute boolean translate;
+ [CEReactions] attribute DOMString dir;
- attribute long tabIndex;
- attribute boolean draggable;
- [Reflect] attribute DOMString webkitdropzone;
- [Reflect] attribute boolean hidden;
- [Reflect] attribute DOMString accessKey;
+ [CEReactions] attribute long tabIndex;
+ [CEReactions] attribute boolean draggable;
- // Extensions
- [TreatNullAs=NullString, SetterRaisesException] attribute DOMString innerHTML;
- [TreatNullAs=NullString, SetterRaisesException] attribute DOMString innerText;
- [TreatNullAs=NullString, SetterRaisesException] attribute DOMString outerHTML;
- [TreatNullAs=NullString, SetterRaisesException] attribute DOMString outerText;
+ [CEReactions, Reflect] attribute DOMString webkitdropzone;
+ // FIXME: Support the standard HTML equivalent.
+ // [PutForwards=value] readonly attribute DOMTokenList dropzone;
- [RaisesException] Element insertAdjacentElement([Default=Undefined] optional DOMString where,
- [Default=Undefined] optional Element element);
- [RaisesException] void insertAdjacentHTML([Default=Undefined] optional DOMString where,
- [Default=Undefined] optional DOMString html);
- [RaisesException] void insertAdjacentText([Default=Undefined] optional DOMString where,
- [Default=Undefined] optional DOMString text);
+ [CEReactions, Reflect] attribute boolean hidden;
+ [CEReactions, Reflect] attribute DOMString accessKey;
- readonly attribute HTMLCollection children;
+ [CEReactions, SetterMayThrowException, TreatNullAs=EmptyString] attribute DOMString innerText;
+ [CEReactions, SetterMayThrowException, TreatNullAs=EmptyString] attribute DOMString outerText;
- [TreatNullAs=NullString, SetterRaisesException] attribute DOMString contentEditable;
+ [CEReactions, SetterMayThrowException] attribute DOMString contentEditable;
readonly attribute boolean isContentEditable;
- attribute boolean spellcheck;
+ [CEReactions] attribute boolean spellcheck;
-#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
- readonly attribute DOMString titleDisplayString;
-#endif
+ [Conditional=IOS_AUTOCORRECT_AND_AUTOCAPITALIZE] attribute boolean autocorrect;
+ [Conditional=IOS_AUTOCORRECT_AND_AUTOCAPITALIZE, TreatNullAs=EmptyString] attribute DOMString autocapitalize;
void click();
+
+ void focus();
+ void blur();
+
+ readonly attribute DOMStringMap dataset;
};
+HTMLElement implements GlobalEventHandlers;