| Index: lib/html/templates/html/interface/interface_Element.darttemplate
|
| diff --git a/lib/html/templates/html/interface/interface_Element.darttemplate b/lib/html/templates/html/interface/interface_Element.darttemplate
|
| index 620efdb8123de46d6b3bcb6fd37a2aae397319e8..212fbc58f3fe46bb57af30efb11bee9996443cc8 100644
|
| --- a/lib/html/templates/html/interface/interface_Element.darttemplate
|
| +++ b/lib/html/templates/html/interface/interface_Element.darttemplate
|
| @@ -84,11 +84,32 @@ abstract class Element implements Node, NodeSelector {
|
| void addHTML(String html);
|
|
|
| /**
|
| - * @domName getClientRects, getBoundingClientRect, clientHeight, clientWidth,
|
| - * clientTop, clientLeft, offsetHeight, offsetWidth, offsetTop, offsetLeft,
|
| - * scrollHeight, scrollWidth, scrollTop, scrollLeft
|
| + * Synchronous implementation of [rect.client]
|
| + * If browser layout has been dirtied before this method is called then a
|
| + * re-layout will be forced and this may impact performance.
|
| */
|
| - Future<ElementRect> get rect;
|
| + ClientRect get client;
|
| +
|
| + /**
|
| + * Synchronous implementation of [rect.offsetSync]
|
| + * If browser layout has been dirtied before this method is called then a
|
| + * re-layout will be forced and this may impact performance.
|
| + */
|
| + ClientRect get offset;
|
| +
|
| + /**
|
| + * Synchronous implementation of [rect.scroll]
|
| + * If browser layout has been dirtied before this method is called then a
|
| + * re-layout will be forced and this may impact performance.
|
| + */
|
| + ClientRect get scroll;
|
| +
|
| + /**
|
| + * Synchronous implementation of [rect.boundingClientRect]
|
| + * If browser layout has been dirtied before this method is called then a
|
| + * re-layout will be forced and this may impact performance.
|
| + */
|
| + ClientRect get boundingClientRect;
|
|
|
| /** @domName Window.getComputedStyle */
|
| Future<CSSStyleDeclaration> get computedStyle;
|
|
|