Index: dart/sdk/lib/html/dart2js/html_dart2js.dart |
=================================================================== |
--- dart/sdk/lib/html/dart2js/html_dart2js.dart (revision 29808) |
+++ dart/sdk/lib/html/dart2js/html_dart2js.dart (working copy) |
@@ -9664,6 +9664,11 @@ |
@DomName('Element.namespaceUri') |
String get namespaceUri => _namespaceUri; |
+ /** |
+ * The string representation of this element. |
+ * |
+ * This is equivalent to reading the [localName] property. |
+ */ |
String toString() => localName; |
/** |
@@ -11088,10 +11093,26 @@ |
@DocsEditable() |
void _removeAttributeNS(String namespaceURI, String localName) native; |
+ /** |
+ * Scrolls the element by a number of lines. |
+ * |
+ * ## Other resources |
+ * |
+ * * [scrollByLines] |
+ * (http://docs.webplatform.org/wiki/dom/methods/scrollByLines) from WebPlatform.org. |
+ */ |
@DomName('Element.scrollByLines') |
@DocsEditable() |
void scrollByLines(int lines) native; |
+ /** |
+ * Scrolls the element by a number of pages. |
+ * |
+ * ## Other resources |
+ * |
+ * * [scrollByPages] |
+ * (http://docs.webplatform.org/wiki/dom/methods/scrollByPages) from WebPlatform.org. |
+ */ |
@DomName('Element.scrollByPages') |
@DocsEditable() |
void scrollByPages(int pages) native; |
@@ -11117,6 +11138,17 @@ |
void setAttributeNS(String namespaceURI, String qualifiedName, String value) native; |
@JSName('webkitGetRegionFlowRanges') |
+ /** |
+ * Returns an array of ranges of fragments in the flow. |
+ * |
+ * ## Other resources |
+ * |
+ * * [CSS regions and exclusions tutorial] |
+ * (http://www.html5rocks.com/en/tutorials/regions/adobe/) from HTML5Rocks. |
+ * * [Regions](http://html.adobe.com/webplatform/layout/regions/) from Adobe. |
+ * * [CSS regions specification] |
+ * (http://www.w3.org/TR/css3-regions/) from W3C. |
+ */ |
@DomName('Element.webkitGetRegionFlowRanges') |
@DocsEditable() |
@SupportedBrowser(SupportedBrowser.CHROME) |
@@ -11128,6 +11160,17 @@ |
List<Range> getRegionFlowRanges() native; |
@JSName('webkitRequestFullscreen') |
+ /** |
+ * Displays this element fullscreen. |
+ * |
+ * ## Other resources |
+ * |
+ * * [Using the full-screen API] |
+ * (http://docs.webplatform.org/wiki/tutorials/using_the_full-screen_api) |
+ * tutorial from WebPlatform.org. |
+ * * [Fullscreen specification] |
+ * (http://www.w3.org/TR/fullscreen/) from W3C. |
+ */ |
@DomName('Element.webkitRequestFullscreen') |
@DocsEditable() |
@SupportedBrowser(SupportedBrowser.CHROME) |
@@ -11137,6 +11180,18 @@ |
void requestFullscreen() native; |
@JSName('webkitRequestPointerLock') |
+ /** |
+ * Locks the mouse pointer to this element. |
+ * |
+ * ## Other resources |
+ * |
+ * * [Pointer lock and first person shooter controls] |
+ * (http://www.html5rocks.com/en/tutorials/pointerlock/intro/) tutorial from |
+ * HTML5Rocks. |
+ * |
+ * * [Pointer lock specification] |
+ * (http://www.w3.org/TR/pointerlock/) from W3C. |
+ */ |
@DomName('Element.webkitRequestPointerLock') |
@DocsEditable() |
@SupportedBrowser(SupportedBrowser.CHROME) |