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

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

Issue 56933002: Version 0.8.10.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: 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
Index: dart/tools/dom/templates/html/impl/impl_Element.darttemplate
===================================================================
--- dart/tools/dom/templates/html/impl/impl_Element.darttemplate (revision 29785)
+++ dart/tools/dom/templates/html/impl/impl_Element.darttemplate (working copy)
@@ -783,8 +783,17 @@
@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;
@@ -828,6 +837,12 @@
}
$if DART2JS
+ /**
+ * Static factory designed to expose `mousewheel` events to event
+ * handlers that are not necessarily instances of [Element].
+ *
+ * See [EventStreamProvider] for usage information.
+ */
@DomName('Element.mouseWheelEvent')
static const EventStreamProvider<WheelEvent> mouseWheelEvent =
const _CustomEventStreamProvider<WheelEvent>(
@@ -846,6 +861,12 @@
}
}
+ /**
+ * Static factory designed to expose `transitionend` events to event
+ * handlers that are not necessarily instances of [Element].
+ *
+ * See [EventStreamProvider] for usage information.
+ */
@DomName('Element.transitionEndEvent')
static const EventStreamProvider<TransitionEvent> transitionEndEvent =
const _CustomEventStreamProvider<TransitionEvent>(
@@ -990,6 +1011,17 @@
}
$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()
@@ -999,6 +1031,17 @@
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()

Powered by Google App Engine
This is Rietveld 408576698