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

Unified Diff: sky/specs/dom.md

Issue 836433003: Specs: Text nodes can also be distributed, so getDestinationInsertionPoints() needs to be on Node, … (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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 | « no previous file | sky/specs/style.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/dom.md
diff --git a/sky/specs/dom.md b/sky/specs/dom.md
index 115c33a248c39104154f7f75b1e9fa4af6f1881f..8b566c0de25597fb4fb1849bb8d1d3c637fd608e 100644
--- a/sky/specs/dom.md
+++ b/sky/specs/dom.md
@@ -31,6 +31,9 @@ abstract class Node : EventTarget { // implemented in C++
virtual void attachedCallback(); // noop
virtual void detachedCallback(); // noop
+ Array<ContentElement> getDestinationInsertionPoints(); // O(N) in number of insertion points the node is in
+ // returns the <content> elements to which this element was distributed
+
readonly attribute ElementStyleDeclarationList? style; // O(1)
// for nodes that aren't reachable from the Application Document, returns null
// (so in particular orphaned subtrees and nodes in module documents don't have one)
@@ -78,7 +81,6 @@ abstract class Element : ParentNode {
Array<Attr> getAttributes(); // O(N) in number of attributes
readonly attribute ShadowRoot? shadowRoot; // O(1) // returns the shadow root // TODO(ianh): Should this be mutable? It would help explain how it gets set...
- Array<ContentElement> getDestinationInsertionPoints(); // O(N) in number of insertion points the node is in
virtual void endTagParsedCallback(); // noop
virtual void attributeChangeCallback(String name, String? oldValue, String? newValue); // noop
« no previous file with comments | « no previous file | sky/specs/style.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698