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

Unified Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 56533002: Added even more documentation to Element. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: A few more things. Created 7 years, 1 month 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 | « tools/dom/docs/docs.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_Element.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
index eb0e1e5ed6fd11801f861bd08e2d1fe0d483feb0..5c52b06fbd68cd453aeb7416f84c17e7e62bc2d7 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -783,8 +783,17 @@ $endif
@DocsEditable()
String get localName => _localName;
+ /**
+ * A URI that identifies the XML namespace of this element.
+ *
+ * `null` if no namespace URI is specified.
+ *
+ * ## Other resources
+ *
+ * * [Node.namespaceURI]
+ * (http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSname) from W3C.
+ */
@DomName('Element.namespaceUri')
- @DocsEditable()
String get namespaceUri => _namespaceUri;
String toString() => localName;
@@ -1002,6 +1011,17 @@ $endif
}
$if DART2JS
+ /**
+ * Creates a new shadow root for this shadow host.
+ *
+ * ## Other resources
+ *
+ * * [Shadow DOM 101]
+ * (http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom/)
+ * from HTML5Rocks.
+ * * [Shadow DOM specification]
+ * (http://www.w3.org/TR/shadow-dom/) from W3C.
+ */
@DomName('Element.createShadowRoot')
@SupportedBrowser(SupportedBrowser.CHROME, '25')
@Experimental()
@@ -1011,6 +1031,17 @@ $if DART2JS
this, this, this);
}
+ /**
+ * The shadow root of this shadow host.
+ *
+ * ## Other resources
+ *
+ * * [Shadow DOM 101]
+ * (http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom/)
+ * from HTML5Rocks.
+ * * [Shadow DOM specification]
+ * (http://www.w3.org/TR/shadow-dom/) from W3C.
+ */
@DomName('Element.shadowRoot')
@SupportedBrowser(SupportedBrowser.CHROME, '25')
@Experimental()
« no previous file with comments | « tools/dom/docs/docs.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698