| Index: client/samples/total/src/DomUtils.dart
|
| diff --git a/client/samples/total/src/DomUtils.dart b/client/samples/total/src/DomUtils.dart
|
| index 57692dff6b57cb6b633c05048ca542e50844d5e1..4ac632e3e39d74f723009278c1bb84f912495dc7 100644
|
| --- a/client/samples/total/src/DomUtils.dart
|
| +++ b/client/samples/total/src/DomUtils.dart
|
| @@ -6,51 +6,6 @@
|
| * Utilities for [Element]s.
|
| */
|
| class DomUtils {
|
| -
|
| - /**
|
| - * Returns an element's absolute bottom coordinate in the document's coordinate system.
|
| - */
|
| - static int getAbsoluteBottom(Element elem) => getAbsoluteTop(elem) + elem.offsetHeight;
|
| -
|
| - /**
|
| - * Returns an element's absolute left coordinate in the document's coordinate system.
|
| - */
|
| - static int getAbsoluteLeft(Element elem) {
|
| - int left = 0;
|
| - Element curr = elem;
|
| - while (curr.offsetParent != null) {
|
| - left -= curr.scrollLeft;
|
| - curr = curr.parent;
|
| - }
|
| - while (elem != null) {
|
| - left += elem.offsetLeft;
|
| - elem = elem.offsetParent;
|
| - }
|
| - return left;
|
| - }
|
| -
|
| - /**
|
| - * Returns an element's absolute right coordinate in the document's coordinate system.
|
| - */
|
| - static int getAbsoluteRight(Element elem) => getAbsoluteLeft(elem) + elem.offsetWidth;
|
| -
|
| - /**
|
| - * Returns an element's absolute top coordinate in the document's coordinate system.
|
| - */
|
| - static int getAbsoluteTop(Element elem) {
|
| - int top = 0;
|
| - Element curr = elem;
|
| - while (curr.offsetParent != null) {
|
| - top -= curr.scrollTop;
|
| - curr = curr.parent;
|
| - }
|
| - while (elem != null) {
|
| - top += elem.offsetTop;
|
| - elem = elem.offsetParent;
|
| - }
|
| - return top;
|
| - }
|
| -
|
| /**
|
| * Removes a property on the given element's style.
|
| */
|
|
|