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

Unified Diff: sky/engine/core/dom/Node.idl

Issue 810793005: Implement Node.ownerScope (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Update to spec. Created 6 years 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 | « sky/engine/core/dom/Node.cpp ('k') | sky/tests/dom/ownerScope.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Node.idl
diff --git a/sky/engine/core/dom/Node.idl b/sky/engine/core/dom/Node.idl
index 7f0e5f8b586f39cfc28d85c150d29c5b43ac7f0b..2fddd0390ddfc5c03b73ef65fe19262c88fe3dad 100644
--- a/sky/engine/core/dom/Node.idl
+++ b/sky/engine/core/dom/Node.idl
@@ -29,6 +29,10 @@
[PerWorldBindings] readonly attribute Node nextSibling;
[PerWorldBindings] readonly attribute Document ownerDocument;
+ // TODO(esprehn): This should return TreeScope in Sky, but we don't have
+ // a TreeScope type yet.
+ readonly attribute Node ownerScope;
+
[CustomElementCallbacks, PerWorldBindings, RaisesException, TypeChecking=Interface] Node insertBefore(Node newChild, Node? refChild);
[CustomElementCallbacks, PerWorldBindings, RaisesException, TypeChecking=Interface] Node replaceChild(Node newChild, Node oldChild);
[CustomElementCallbacks, RaisesException, TypeChecking=Interface] Node removeChild(Node oldChild);
« no previous file with comments | « sky/engine/core/dom/Node.cpp ('k') | sky/tests/dom/ownerScope.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698