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

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

Issue 924203002: Morph the APIs for Node, ParentNode, and Element closer to the specs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: less Created 5 years, 10 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 | « sky/engine/core/dom/ContainerNode.cpp ('k') | sky/engine/core/dom/DocumentFragment.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.idl
diff --git a/sky/engine/core/dom/Document.idl b/sky/engine/core/dom/Document.idl
index a765e19e7ad0c206c4c0e65c7c463b7fac89c267..e8bd346c0811d53f65c94197a72fdb015c19cfe2 100644
--- a/sky/engine/core/dom/Document.idl
+++ b/sky/engine/core/dom/Document.idl
@@ -25,7 +25,7 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
[
Constructor(),
ConstructorCallWith=Document,
-] interface Document : Node {
+] interface Document : ParentNode {
readonly attribute Element documentElement;
[CustomElementCallbacks, RaisesException] Element createElement(DOMString tagName);
@@ -75,5 +75,3 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
readonly attribute HTMLScriptElement currentScript;
};
-
-Document implements ParentNode;
« no previous file with comments | « sky/engine/core/dom/ContainerNode.cpp ('k') | sky/engine/core/dom/DocumentFragment.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698