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

Unified Diff: core/dom/ParentNode.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/dom/NonElementParentNode.idl ('k') | core/dom/ProcessingInstruction.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/ParentNode.idl
diff --git a/core/dom/ParentNode.idl b/core/dom/ParentNode.idl
index dea4bfd282a91f388ebc0b4201a5acb7df7f38df..0f722e86b67d0f737e99a090b50e82f9c0818043 100644
--- a/core/dom/ParentNode.idl
+++ b/core/dom/ParentNode.idl
@@ -28,16 +28,22 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://dom.spec.whatwg.org/#interface-parentnode
+
[
LegacyTreatAsPartialInterface,
NoInterfaceObject, // Always used on target of 'implements'
] interface ParentNode {
- [PerWorldBindings] readonly attribute HTMLCollection children;
- [PerWorldBindings] readonly attribute Element firstElementChild;
- [PerWorldBindings] readonly attribute Element lastElementChild;
+ [SameObject, PerWorldBindings] readonly attribute HTMLCollection children;
+ [PerWorldBindings] readonly attribute Element? firstElementChild;
+ [PerWorldBindings] readonly attribute Element? lastElementChild;
readonly attribute unsigned long childElementCount;
- // NodeSelector - Selector API
- [RaisesException] Element querySelector(DOMString selectors);
- [RaisesException] NodeList querySelectorAll(DOMString selectors);
+ [Unscopeable, RaisesException, CustomElementCallbacks, RuntimeEnabled=DOMConvenienceAPI] void prepend((Node or DOMString)... nodes);
+ [Unscopeable, RaisesException, CustomElementCallbacks, RuntimeEnabled=DOMConvenienceAPI] void append((Node or DOMString)... nodes);
+
+ // [Unscopeable] Element? query(DOMString relativeSelectors);
+ // [NewObject, Unscopeable] Elements queryAll(DOMString relativeSelectors);
+ [RaisesException] Element? querySelector(DOMString selectors);
+ [NewObject, RaisesException] NodeList querySelectorAll(DOMString selectors);
};
« no previous file with comments | « core/dom/NonElementParentNode.idl ('k') | core/dom/ProcessingInstruction.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698