focus() / blur() should be on HTMLElement / SVGElement, not Element
[WebKit-https.git] / Source / WebCore / dom / Element.idl
index 99ce3da..8a63900 100644 (file)
 
     [ImplementedAs=bindingsOffsetParent] readonly attribute Element offsetParent;
 
+#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C || defined(LANGUAGE_GOBJECT) && LANGUAGE_GOBJECT
     void focus();
     void blur();
+#endif
+
     void scrollIntoView(optional boolean alignWithTop);
 
     // WebKit extensions
 #endif
     [TreatNullAs=EmptyString, SetterRaisesException] attribute DOMString innerHTML;
     [TreatNullAs=EmptyString, SetterRaisesException] attribute DOMString outerHTML;
-             
+
 
     [Reflect=class] attribute DOMString className;
     [PutForwards=value] readonly attribute DOMTokenList classList;