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

Side by Side Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 1754593004: client* no longer handle manipulated the properties are back to ints (Closed) Base URL: git@github.com:dart-lang/sdk.git@integration
Patch Set: Move CL from integration to master Created 4 years, 9 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1533 int get offsetLeft => JS('num', '#.offsetLeft', this).round(); 1533 int get offsetLeft => JS('num', '#.offsetLeft', this).round();
1534 1534
1535 @DomName('Element.offsetTop') 1535 @DomName('Element.offsetTop')
1536 @DocsEditable() 1536 @DocsEditable()
1537 int get offsetTop => JS('num', '#.offsetTop', this).round(); 1537 int get offsetTop => JS('num', '#.offsetTop', this).round();
1538 1538
1539 @DomName('Element.offsetWidth') 1539 @DomName('Element.offsetWidth')
1540 @DocsEditable() 1540 @DocsEditable()
1541 int get offsetWidth => JS('num', '#.offsetWidth', this).round(); 1541 int get offsetWidth => JS('num', '#.offsetWidth', this).round();
1542 1542
1543 @DomName('Element.clientHeight')
1544 @DocsEditable()
1545 int get clientHeight => JS('num', '#.clientHeight', this).round();
1546
1547 @DomName('Element.clientLeft')
1548 @DocsEditable()
1549 int get clientLeft => JS('num', '#.clientLeft', this).round();
1550
1551 @DomName('Element.clientTop')
1552 @DocsEditable()
1553 int get clientTop => JS('num', '#.clientTop', this).round();
1554
1555 @DomName('Element.clientWidth')
1556 @DocsEditable()
1557 int get clientWidth => JS('num', '#.clientWidth', this).round();
1558
1559 @DomName('Element.scrollHeight') 1543 @DomName('Element.scrollHeight')
1560 @DocsEditable() 1544 @DocsEditable()
1561 int get scrollHeight => JS('num', '#.scrollHeight', this).round(); 1545 int get scrollHeight => JS('num', '#.scrollHeight', this).round();
1562 1546
1563 @DomName('Element.scrollLeft') 1547 @DomName('Element.scrollLeft')
1564 @DocsEditable() 1548 @DocsEditable()
1565 int get scrollLeft => JS('num', '#.scrollLeft', this).round(); 1549 int get scrollLeft => JS('num', '#.scrollLeft', this).round();
1566 1550
1567 @DomName('Element.scrollLeft') 1551 @DomName('Element.scrollLeft')
1568 @DocsEditable() 1552 @DocsEditable()
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1672 const ScrollAlignment._internal(this._value); 1656 const ScrollAlignment._internal(this._value);
1673 toString() => 'ScrollAlignment.$_value'; 1657 toString() => 'ScrollAlignment.$_value';
1674 1658
1675 /// Attempt to align the element to the top of the scrollable area. 1659 /// Attempt to align the element to the top of the scrollable area.
1676 static const TOP = const ScrollAlignment._internal('TOP'); 1660 static const TOP = const ScrollAlignment._internal('TOP');
1677 /// Attempt to center the element in the scrollable area. 1661 /// Attempt to center the element in the scrollable area.
1678 static const CENTER = const ScrollAlignment._internal('CENTER'); 1662 static const CENTER = const ScrollAlignment._internal('CENTER');
1679 /// Attempt to align the element to the bottom of the scrollable area. 1663 /// Attempt to align the element to the bottom of the scrollable area.
1680 static const BOTTOM = const ScrollAlignment._internal('BOTTOM'); 1664 static const BOTTOM = const ScrollAlignment._internal('BOTTOM');
1681 } 1665 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698