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

Unified Diff: Source/core/dom/ChildNode.idl

Issue 1085843002: Implement DOM: prepend, append, before, after & replaceWith (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/core/dom/ChildNode.h ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ChildNode.idl
diff --git a/Source/core/dom/ChildNode.idl b/Source/core/dom/ChildNode.idl
index 8c2f9f3ac096a566b4af2a8f7ad23645dcfc7512..0b0168ecc06b0ccbdc1d3fed3ecce6d6731fc2fe 100644
--- a/Source/core/dom/ChildNode.idl
+++ b/Source/core/dom/ChildNode.idl
@@ -26,9 +26,8 @@
LegacyTreatAsPartialInterface,
NoInterfaceObject, // Always used on target of 'implements'
] interface ChildNode {
- // [Unscopeable] void before((Node or DOMString)... nodes);
- // [Unscopeable] void after((Node or DOMString)... nodes);
- // [Unscopeable] void replaceWith((Node or DOMString)... nodes);
- // TODO(philipj): remove() should be [Unscopeable]. crbug.com/462916
- [RaisesException, CustomElementCallbacks] void remove();
+ [Unscopeable, RaisesException, CustomElementCallbacks, RuntimeEnabled=DOMConvenienceAPI] void before((Node or DOMString) ... nodes);
+ [Unscopeable, RaisesException, CustomElementCallbacks, RuntimeEnabled=DOMConvenienceAPI] void after((Node or DOMString)... nodes);
+ [Unscopeable, RaisesException, CustomElementCallbacks, RuntimeEnabled=DOMConvenienceAPI] void replaceWith((Node or DOMString)... nodes);
+ [Unscopeable, RaisesException, CustomElementCallbacks] void remove();
};
« no previous file with comments | « Source/core/dom/ChildNode.h ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698