Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Unified Diff: third_party/WebKit/Source/core/dom/Node.idl

Issue 2043503002: Add [CEReactions] IDL attributes for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yukishiino review Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Node.idl
diff --git a/third_party/WebKit/Source/core/dom/Node.idl b/third_party/WebKit/Source/core/dom/Node.idl
index bb7af9a052a1b1719ef6eabd872182243fa2c2d4..46258ce3236864bf441fc389b2ae543722aa07dd 100644
--- a/third_party/WebKit/Source/core/dom/Node.idl
+++ b/third_party/WebKit/Source/core/dom/Node.idl
@@ -54,12 +54,13 @@
[PerWorldBindings] readonly attribute Node? nextSibling;
[RuntimeEnabled=ShadowDOMV1, MeasureAs=NodeRootNode, ImplementedAs=treeRoot] readonly attribute Node rootNode;
- [CustomElementCallbacks] attribute DOMString? nodeValue;
+ [CEReactions, CustomElementCallbacks] attribute DOMString? nodeValue;
+
// FIXME: textContent should not have [TreatUndefinedAs=NullString].
- [TreatUndefinedAs=NullString, CustomElementCallbacks] attribute DOMString? textContent;
- [CustomElementCallbacks] void normalize();
+ [TreatUndefinedAs=NullString, CEReactions, CustomElementCallbacks] attribute DOMString? textContent;
+ [CEReactions, CustomElementCallbacks] void normalize();
- [NewObject, CustomElementCallbacks] Node cloneNode(optional boolean deep = false);
+ [NewObject, CEReactions, CustomElementCallbacks] Node cloneNode(optional boolean deep = false);
boolean isEqualNode(Node? otherNode);
boolean isSameNode(Node? otherNode); // historical alias of ===
@@ -76,8 +77,8 @@
DOMString? lookupNamespaceURI(DOMString? prefix);
boolean isDefaultNamespace(DOMString? namespaceURI);
- [CustomElementCallbacks, PerWorldBindings, RaisesException] Node insertBefore(Node node, Node? child);
- [CustomElementCallbacks, PerWorldBindings, RaisesException] Node appendChild(Node node);
- [CustomElementCallbacks, PerWorldBindings, RaisesException] Node replaceChild(Node node, Node child);
- [CustomElementCallbacks, RaisesException] Node removeChild(Node child);
+ [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Node insertBefore(Node node, Node? child);
+ [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Node appendChild(Node node);
+ [CEReactions, CustomElementCallbacks, PerWorldBindings, RaisesException] Node replaceChild(Node node, Node child);
+ [CEReactions, CustomElementCallbacks, RaisesException] Node removeChild(Node child);
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/NamedNodeMap.idl ('k') | third_party/WebKit/Source/core/dom/ParentNode.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698