Index: sky/engine/core/dom/Element.idl |
diff --git a/sky/engine/core/dom/Element.idl b/sky/engine/core/dom/Element.idl |
index 21873ee1621a61ca5f418900d300b2027f3c1f7b..31475779513a44afc376f497aea331e28b2bc0db 100644 |
--- a/sky/engine/core/dom/Element.idl |
+++ b/sky/engine/core/dom/Element.idl |
@@ -2,13 +2,16 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-interface Element : ParentNode { |
+[ |
+ Constructor(DOMString tagName), |
+ ConstructorCallWith=Document, |
+] interface Element : ParentNode { |
readonly attribute DOMString tagName; |
boolean hasAttribute(DOMString name); |
[TreatReturnedNullStringAs=Null] DOMString getAttribute(DOMString name); |
- [RaisesException] void setAttribute(DOMString name, optional DOMString value); |
- void removeAttribute(DOMString name); |
+ [CustomElementCallbacks, RaisesException] void setAttribute(DOMString name, optional DOMString value); |
+ [CustomElementCallbacks] void removeAttribute(DOMString name); |
sequence<Attr> getAttributes(); |