| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of $LIBRARYNAME; | 5 part of $LIBRARYNAME; |
| 6 | 6 |
| 7 class _ChildrenElementList extends ListBase<Element> | 7 class _ChildrenElementList extends ListBase<Element> |
| 8 implements NodeListWrapper { | 8 implements NodeListWrapper { |
| 9 // Raw Element. | 9 // Raw Element. |
| 10 final Element _element; | 10 final Element _element; |
| (...skipping 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1583 @DomName('Element.offsetHeight') | 1583 @DomName('Element.offsetHeight') |
| 1584 @DocsEditable() | 1584 @DocsEditable() |
| 1585 int get offsetHeight => _blink.BlinkElement.offsetHeight_Getter_(this).round()
; | 1585 int get offsetHeight => _blink.BlinkElement.offsetHeight_Getter_(this).round()
; |
| 1586 | 1586 |
| 1587 @DomName('Element.offsetLeft') | 1587 @DomName('Element.offsetLeft') |
| 1588 @DocsEditable() | 1588 @DocsEditable() |
| 1589 int get offsetLeft => _blink.BlinkElement.offsetLeft_Getter_(this).round(); | 1589 int get offsetLeft => _blink.BlinkElement.offsetLeft_Getter_(this).round(); |
| 1590 | 1590 |
| 1591 @DomName('Element.offsetTop') | 1591 @DomName('Element.offsetTop') |
| 1592 @DocsEditable() | 1592 @DocsEditable() |
| 1593 int get offsetTop => _blink.BlinkElement.offsetTop_Getter_(thi)).round(); | 1593 int get offsetTop => _blink.BlinkElement.offsetTop_Getter_(this).round(); |
| 1594 | 1594 |
| 1595 @DomName('Element.offsetWidth') | 1595 @DomName('Element.offsetWidth') |
| 1596 @DocsEditable() | 1596 @DocsEditable() |
| 1597 int get offsetWidth => _blink.BlinkElement.offsetWidth_Getter_(this).round(); | 1597 int get offsetWidth => _blink.BlinkElement.offsetWidth_Getter_(this).round(); |
| 1598 | 1598 |
| 1599 @DomName('Element.clientHeight') | 1599 @DomName('Element.clientHeight') |
| 1600 @DocsEditable() | 1600 @DocsEditable() |
| 1601 int get clientHeight => _blink.BlinkElement.clientHeight_Getter_(this).round()
; | 1601 int get clientHeight => _blink.BlinkElement.clientHeight_Getter_(this).round()
; |
| 1602 | 1602 |
| 1603 @DomName('Element.clientLeft') | 1603 @DomName('Element.clientLeft') |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1676 const ScrollAlignment._internal(this._value); | 1676 const ScrollAlignment._internal(this._value); |
| 1677 toString() => 'ScrollAlignment.$_value'; | 1677 toString() => 'ScrollAlignment.$_value'; |
| 1678 | 1678 |
| 1679 /// Attempt to align the element to the top of the scrollable area. | 1679 /// Attempt to align the element to the top of the scrollable area. |
| 1680 static const TOP = const ScrollAlignment._internal('TOP'); | 1680 static const TOP = const ScrollAlignment._internal('TOP'); |
| 1681 /// Attempt to center the element in the scrollable area. | 1681 /// Attempt to center the element in the scrollable area. |
| 1682 static const CENTER = const ScrollAlignment._internal('CENTER'); | 1682 static const CENTER = const ScrollAlignment._internal('CENTER'); |
| 1683 /// Attempt to align the element to the bottom of the scrollable area. | 1683 /// Attempt to align the element to the bottom of the scrollable area. |
| 1684 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); | 1684 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); |
| 1685 } | 1685 } |
| OLD | NEW |