Index: Source/core/dom/Element.idl |
diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl |
index 0137af97e908ffbcbb0aec2143830abe76fde417..722419705919c084343430276033b3375b187075 100644 |
--- a/Source/core/dom/Element.idl |
+++ b/Source/core/dom/Element.idl |
@@ -30,9 +30,9 @@ |
[RaisesException, CustomElementCallbacks=Enable] void setAttribute([Default=Undefined] optional DOMString name, |
[Default=Undefined] optional DOMString value); |
[CustomElementCallbacks=Enable] void removeAttribute([Default=Undefined] optional DOMString name); |
- Attr getAttributeNode([Default=Undefined] optional DOMString name); |
- [RaisesException, CustomElementCallbacks=Enable] Attr setAttributeNode([Default=Undefined, StrictTypeChecking] optional Attr newAttr); |
- [RaisesException, CustomElementCallbacks=Enable] Attr removeAttributeNode([Default=Undefined, StrictTypeChecking] optional Attr oldAttr); |
+ [MeasureAs=ElementGetAttributeNode] Attr getAttributeNode([Default=Undefined] optional DOMString name); // Removed from DOM4. |
+ [RaisesException, CustomElementCallbacks=Enable, MeasureAs=ElementSetAttributeNode] Attr setAttributeNode([Default=Undefined, StrictTypeChecking] optional Attr newAttr); // Removed from DOM4. |
+ [RaisesException, CustomElementCallbacks=Enable, MeasureAs=ElementRemoveAttributeNode] Attr removeAttributeNode([Default=Undefined, StrictTypeChecking] optional Attr oldAttr); // Removed from DOM4. |
[PerWorldBindings] NodeList getElementsByTagName([Default=Undefined] optional DOMString name); |
// For ObjC this is defined on Node for legacy support. |
@@ -50,8 +50,8 @@ |
DOMString localName); |
NodeList getElementsByTagNameNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, |
[Default=Undefined] optional DOMString localName); |
- Attr getAttributeNodeNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, |
- [Default=Undefined] optional DOMString localName); |
+ [MeasureAs=ElementGetAttributeNodeNS] Attr getAttributeNodeNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, |
+ [Default=Undefined] optional DOMString localName); // Removed from DOM4. |
[RaisesException, CustomElementCallbacks=Enable] Attr setAttributeNodeNS([Default=Undefined, StrictTypeChecking] optional Attr newAttr); |
boolean hasAttribute(DOMString name); |
boolean hasAttributeNS([TreatNullAs=NullString,Default=Undefined] optional DOMString namespaceURI, |