Chromium Code Reviews| Index: lib/html/templates/html/impl/impl_Element.darttemplate |
| diff --git a/lib/html/templates/html/impl/impl_Element.darttemplate b/lib/html/templates/html/impl/impl_Element.darttemplate |
| index 9a0928b7d2040a22f9819f52f8ffaea29742c029..6d2b940532333836b7273348c8e198e55f24003a 100644 |
| --- a/lib/html/templates/html/impl/impl_Element.darttemplate |
| +++ b/lib/html/templates/html/impl/impl_Element.darttemplate |
| @@ -706,6 +706,26 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
| new Completer<ElementRect>()); |
| } |
| + ClientRect get client => new _SimpleClientRect( |
|
Jacob
2012/10/03 23:08:53
also go ahead and remove that these are rects. th
blois
2012/10/03 23:36:09
Done.
|
| + this.$dom_clientLeft, |
| + this.$dom_clientTop, |
| + this.$dom_clientWidth, |
| + this.$dom_clientHeight); |
| + |
| + ClientRect get offset => new _SimpleClientRect( |
| + this.$dom_offsetLeft, |
| + this.$dom_offsetTop, |
| + this.$dom_offsetWidth, |
| + this.$dom_offsetHeight); |
| + |
| + ClientRect get scroll => new _SimpleClientRect( |
| + this.$dom_scrollLeft, |
| + this.$dom_scrollTop, |
| + this.$dom_scrollWidth, |
| + this.$dom_scrollHeight); |
| + |
| + ClientRect get boundingClientRect => this.$dom_getBoundingClientRect(); |
| + |
| Future<CSSStyleDeclaration> get computedStyle { |
| // TODO(jacobr): last param should be null, see b/5045788 |
| return getComputedStyle(''); |