| 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 09876145367790190e05de60a203cfb4763e1f86..daef6d1d85b8a264a06e321c0c6c89ca93f4fe0e 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -10993,8 +10993,8 @@ abstract class Element extends Node implements ParentNode, ChildNode native "Ele
|
| String getAttributeNS(String namespaceURI, String localName) native;
|
|
|
| /**
|
| - * The smallest bounding rectangle that encompasses this element's padding,
|
| - * scrollbar, and border.
|
| + * Returns the smallest bounding rectangle that encompasses this element's
|
| + * padding, scrollbar, and border.
|
| *
|
| * ## Other resources
|
| *
|
| @@ -11002,14 +11002,16 @@ abstract class Element extends Node implements ParentNode, ChildNode native "Ele
|
| * (https://developer.mozilla.org/en-US/docs/Web/API/Element.getBoundingClientRect)
|
| * from MDN.
|
| * * [The getBoundingClientRect() method]
|
| - * (http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods) from W3C.
|
| + * (http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods)
|
| + * from W3C.
|
| */
|
| @DomName('Element.getBoundingClientRect')
|
| @DocsEditable()
|
| Rectangle getBoundingClientRect() native;
|
|
|
| /**
|
| - * A list of bounding rectangles for each box associated with this element.
|
| + * Returns a list of bounding rectangles for each box associated with this
|
| + * element.
|
| *
|
| * ## Other resources
|
| *
|
| @@ -11017,7 +11019,8 @@ abstract class Element extends Node implements ParentNode, ChildNode native "Ele
|
| * (https://developer.mozilla.org/en-US/docs/Web/API/Element.getClientRects)
|
| * from MDN.
|
| * * [The getClientRects() method]
|
| - * (http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods) from W3C.
|
| + * (http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods)
|
| + * from W3C.
|
| */
|
| @DomName('Element.getClientRects')
|
| @DocsEditable()
|
| @@ -11025,6 +11028,16 @@ abstract class Element extends Node implements ParentNode, ChildNode native "Ele
|
| @Creates('_ClientRectList')
|
| List<Rectangle> getClientRects() native;
|
|
|
| + /**
|
| + * Returns a list of shadow DOM insertion points to which this element is
|
| + * distributed.
|
| + *
|
| + * ## Other resources
|
| + *
|
| + * * [Shadow DOM specification]
|
| + * (https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html)
|
| + * from W3C.
|
| + */
|
| @DomName('Element.getDestinationInsertionPoints')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| @@ -11032,6 +11045,17 @@ abstract class Element extends Node implements ParentNode, ChildNode native "Ele
|
| @Creates('NodeList')
|
| List<Node> getDestinationInsertionPoints() native;
|
|
|
| + /**
|
| + * Returns a list of nodes with the given class name inside this element.
|
| + *
|
| + * ## Other resources
|
| + *
|
| + * * [getElementsByClassName]
|
| + * (https://developer.mozilla.org/en-US/docs/Web/API/document.getElementsByClassName)
|
| + * from MDN.
|
| + * * [DOM specification]
|
| + * (http://www.w3.org/TR/domcore/) from W3C.
|
| + */
|
| @DomName('Element.getElementsByClassName')
|
| @DocsEditable()
|
| @Returns('NodeList')
|
|
|