| 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 /** | 7 /** |
| 8 * Provides a Map abstraction on top of data-* attributes, similar to the | 8 * Provides a Map abstraction on top of data-* attributes, similar to the |
| 9 * dataSet in the old DOM. | 9 * dataSet in the old DOM. |
| 10 */ | 10 */ |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 256 |
| 257 Map<String, String> get attributes(); | 257 Map<String, String> get attributes(); |
| 258 void set attributes(Map<String, String> value); | 258 void set attributes(Map<String, String> value); |
| 259 | 259 |
| 260 /** | 260 /** |
| 261 * @domName querySelectorAll, getElementsByClassName, getElementsByTagName, | 261 * @domName querySelectorAll, getElementsByClassName, getElementsByTagName, |
| 262 * getElementsByTagNameNS | 262 * getElementsByTagNameNS |
| 263 */ | 263 */ |
| 264 ElementList queryAll(String selectors); | 264 ElementList queryAll(String selectors); |
| 265 | 265 |
| 266 // TODO(jacobr): remove these methods and let them be generated automatically | |
| 267 // once dart supports defining fields with the same name in an interface and | |
| 268 // its parent interface. | |
| 269 String get title(); | |
| 270 void set title(String value); | |
| 271 | |
| 272 /** | 266 /** |
| 273 * @domName childElementCount, firstElementChild, lastElementChild, | 267 * @domName childElementCount, firstElementChild, lastElementChild, |
| 274 * children, Node.nodes.add | 268 * children, Node.nodes.add |
| 275 */ | 269 */ |
| 276 ElementList get elements(); | 270 ElementList get elements(); |
| 277 | 271 |
| 278 // TODO: The type of value should be Collection<Element>. See http://b/5392897 | 272 // TODO: The type of value should be Collection<Element>. See http://b/5392897 |
| 279 void set elements(value); | 273 void set elements(value); |
| 280 | 274 |
| 281 /** @domName className, classList */ | 275 /** @domName className, classList */ |
| (...skipping 17 matching lines...) Expand all Loading... |
| 299 | 293 |
| 300 /** @domName Window.getComputedStyle */ | 294 /** @domName Window.getComputedStyle */ |
| 301 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); | 295 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); |
| 302 | 296 |
| 303 Element clone(bool deep); | 297 Element clone(bool deep); |
| 304 | 298 |
| 305 Element get parent(); | 299 Element get parent(); |
| 306 | 300 |
| 307 $!MEMBERS | 301 $!MEMBERS |
| 308 } | 302 } |
| OLD | NEW |