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 // DO NOT EDIT | 5 // DO NOT EDIT |
6 // Auto-generated dart:html library. | 6 // Auto-generated dart:html library. |
7 | 7 |
8 #library("html"); | 8 #library("html"); |
9 | 9 |
10 $!GENERATED_DART_FILES | 10 $!GENERATED_DART_FILES |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 _WindowImpl get _window() native "return window;"; | 55 _WindowImpl get _window() native "return window;"; |
56 | 56 |
57 Document get document() { | 57 Document get document() { |
58 if (_cachedDocument == null) { | 58 if (_cachedDocument == null) { |
59 _init(); | 59 _init(); |
60 } | 60 } |
61 return _cachedDocument; | 61 return _cachedDocument; |
62 } | 62 } |
63 | 63 |
64 _DocumentImpl get _document() native "return window.document.documentElement;"; | 64 _DocumentImpl get _document() native "return window.document.documentElement;"; |
| 65 |
| 66 // Workaround for tags like <cite> that lack their own Element subclass -- |
| 67 // Dart issue 1990. |
| 68 class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" { |
| 69 } |
OLD | NEW |