Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Unified Diff: lib/html/templates/html/interface/interface_Element.darttemplate

Issue 11367040: Removing Element.rect. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 833fdfd945d8211cd8d59ceb85f3119c874bd5c1..bb11eb516282086dc92b8f56c823e5510db9dc94 100644
--- a/lib/html/templates/html/interface/interface_Element.darttemplate
+++ b/lib/html/templates/html/interface/interface_Element.darttemplate
@@ -15,20 +15,6 @@ abstract class AttributeMap implements Map<String, String> {
void operator []=(String key, value);
}
-/**
- * All your element measurement needs in one place
- */
-abstract class ElementRect {
- // Relative to offsetParent
- ClientRect get client;
- ClientRect get offset;
- ClientRect get scroll;
- // In global coords
- ClientRect get bounding;
- // In global coords
- List<ClientRect> get clientRects;
-}
-
abstract class NodeSelector {
Element query(String selectors);
List<Element> queryAll(String selectors);
@@ -85,13 +71,6 @@ 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
- */
- Future<ElementRect> get rect;
-
/** @domName Window.getComputedStyle */
Future<CSSStyleDeclaration> get computedStyle;

Powered by Google App Engine
This is Rietveld 408576698