Index: sdk/lib/html/dart2js/html_dart2js.dart |
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
index af821c3b861bde69cd795575edf2b0041b048bf2..04df8daec1cadfecccf2d78ec38313501ac70e9a 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -6441,6 +6441,27 @@ class DirectoryReaderSync native "*DirectoryReaderSync" { |
// BSD-style license that can be found in the LICENSE file. |
+/** |
+ * Represents an HTML <div> element. |
+ * |
+ * The [DivElement] is a generic container for content and does not have any |
+ * special significance. It is functionally similar to [SpanElement]. |
+ * |
+ * The [DivElement] is a block-level element, as opposed to [SpanElement], |
+ * which is an inline-level element. |
+ * |
+ * Example usage: |
+ * |
+ * DivElement div = new DivElement(); |
+ * div.text = 'Here's my new DivElem |
+ * document.body.elements.add(elem); |
+ * |
+ * See also: |
+ * |
+ * * [HTML <div> element](http://www.w3.org/TR/html-markup/div.html) from W3C. |
+ * * [Block-level element](http://www.w3.org/TR/CSS2/visuren.html#block-boxes) from W3C. |
+ * * [Inline-level element](http://www.w3.org/TR/CSS2/visuren.html#inline-boxes) from W3C. |
+ */ |
/// @domName HTMLDivElement; @docsEditable true |
class DivElement extends Element implements Element native "*HTMLDivElement" { |