| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface ElementList extends List<Element> { | 7 interface ElementList extends List<Element> { |
| 8 // TODO(jacobr): add element batch manipulation methods. | 8 // TODO(jacobr): add element batch manipulation methods. |
| 9 ElementList filter(bool f(Element element)); | 9 ElementList filter(bool f(Element element)); |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 // Relative to offsetParent | 30 // Relative to offsetParent |
| 31 ClientRect get client(); | 31 ClientRect get client(); |
| 32 ClientRect get offset(); | 32 ClientRect get offset(); |
| 33 ClientRect get scroll(); | 33 ClientRect get scroll(); |
| 34 // In global coords | 34 // In global coords |
| 35 ClientRect get bounding(); | 35 ClientRect get bounding(); |
| 36 // In global coords | 36 // In global coords |
| 37 List<ClientRect> get clientRects(); | 37 List<ClientRect> get clientRects(); |
| 38 } | 38 } |
| 39 | 39 |
| 40 $!COMMENT |
| 40 interface Element extends Node, NodeSelector default _$(ID)FactoryProvider { | 41 interface Element extends Node, NodeSelector default _$(ID)FactoryProvider { |
| 41 // TODO(jacobr): switch back to: | 42 // TODO(jacobr): switch back to: |
| 42 // interface $ID$EXTENDS default _ElementImpl { | 43 // interface $ID$EXTENDS default _ElementImpl { |
| 43 Element.html(String html); | 44 Element.html(String html); |
| 44 Element.tag(String tag); | 45 Element.tag(String tag); |
| 45 | 46 |
| 46 AttributeMap get attributes(); | 47 AttributeMap get attributes(); |
| 47 void set attributes(Map<String, String> value); | 48 void set attributes(Map<String, String> value); |
| 48 | 49 |
| 49 /** | 50 /** |
| (...skipping 30 matching lines...) Expand all Loading... |
| 80 | 81 |
| 81 /** @domName Window.getComputedStyle */ | 82 /** @domName Window.getComputedStyle */ |
| 82 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); | 83 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); |
| 83 | 84 |
| 84 Element clone(bool deep); | 85 Element clone(bool deep); |
| 85 | 86 |
| 86 Element get parent(); | 87 Element get parent(); |
| 87 | 88 |
| 88 $!MEMBERS | 89 $!MEMBERS |
| 89 } | 90 } |
| OLD | NEW |