| OLD | NEW |
| 1 /// The Dart HTML library. | 1 /// The Dart HTML library. |
| 2 library dart.dom.html; | 2 library dart.dom.html; |
| 3 | 3 |
| 4 import 'dart:async'; | 4 import 'dart:async'; |
| 5 import 'dart:collection'; | 5 import 'dart:collection'; |
| 6 import 'dart:_collection-dev' hide Symbol; | 6 import 'dart:_collection-dev' hide Symbol; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:indexed_db'; | 8 import 'dart:indexed_db'; |
| 9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
| 10 import 'dart:json' as json; | 10 import 'dart:json' as json; |
| (...skipping 15225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15236 } | 15236 } |
| 15237 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15237 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15238 // for details. All rights reserved. Use of this source code is governed by a | 15238 // for details. All rights reserved. Use of this source code is governed by a |
| 15239 // BSD-style license that can be found in the LICENSE file. | 15239 // BSD-style license that can be found in the LICENSE file. |
| 15240 | 15240 |
| 15241 | 15241 |
| 15242 @DocsEditable | 15242 @DocsEditable |
| 15243 @DomName('HTMLMetaElement') | 15243 @DomName('HTMLMetaElement') |
| 15244 class MetaElement extends Element native "HTMLMetaElement" { | 15244 class MetaElement extends Element native "HTMLMetaElement" { |
| 15245 | 15245 |
| 15246 @DomName('HTMLMetaElement.HTMLMetaElement') |
| 15247 @DocsEditable |
| 15248 factory MetaElement() => document.$dom_createElement("meta"); |
| 15249 |
| 15246 @DomName('HTMLMetaElement.content') | 15250 @DomName('HTMLMetaElement.content') |
| 15247 @DocsEditable | 15251 @DocsEditable |
| 15248 String content; | 15252 String content; |
| 15249 | 15253 |
| 15250 @DomName('HTMLMetaElement.httpEquiv') | 15254 @DomName('HTMLMetaElement.httpEquiv') |
| 15251 @DocsEditable | 15255 @DocsEditable |
| 15252 String httpEquiv; | 15256 String httpEquiv; |
| 15253 | 15257 |
| 15254 @DomName('HTMLMetaElement.name') | 15258 @DomName('HTMLMetaElement.name') |
| 15255 @DocsEditable | 15259 @DocsEditable |
| (...skipping 2938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18194 } | 18198 } |
| 18195 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18199 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18196 // for details. All rights reserved. Use of this source code is governed by a | 18200 // for details. All rights reserved. Use of this source code is governed by a |
| 18197 // BSD-style license that can be found in the LICENSE file. | 18201 // BSD-style license that can be found in the LICENSE file. |
| 18198 | 18202 |
| 18199 | 18203 |
| 18200 @DocsEditable | 18204 @DocsEditable |
| 18201 @DomName('HTMLQuoteElement') | 18205 @DomName('HTMLQuoteElement') |
| 18202 class QuoteElement extends Element native "HTMLQuoteElement" { | 18206 class QuoteElement extends Element native "HTMLQuoteElement" { |
| 18203 | 18207 |
| 18208 @DomName('HTMLQuoteElement.HTMLQuoteElement') |
| 18209 @DocsEditable |
| 18210 factory QuoteElement() => document.$dom_createElement("q"); |
| 18211 |
| 18204 @DomName('HTMLQuoteElement.cite') | 18212 @DomName('HTMLQuoteElement.cite') |
| 18205 @DocsEditable | 18213 @DocsEditable |
| 18206 String cite; | 18214 String cite; |
| 18207 } | 18215 } |
| 18208 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18216 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18209 // for details. All rights reserved. Use of this source code is governed by a | 18217 // for details. All rights reserved. Use of this source code is governed by a |
| 18210 // BSD-style license that can be found in the LICENSE file. | 18218 // BSD-style license that can be found in the LICENSE file. |
| 18211 | 18219 |
| 18212 // WARNING: Do not edit - generated code. | 18220 // WARNING: Do not edit - generated code. |
| 18213 | 18221 |
| (...skipping 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19565 // BSD-style license that can be found in the LICENSE file. | 19573 // BSD-style license that can be found in the LICENSE file. |
| 19566 | 19574 |
| 19567 | 19575 |
| 19568 @DocsEditable | 19576 @DocsEditable |
| 19569 @DomName('HTMLShadowElement') | 19577 @DomName('HTMLShadowElement') |
| 19570 @SupportedBrowser(SupportedBrowser.CHROME, '26') | 19578 @SupportedBrowser(SupportedBrowser.CHROME, '26') |
| 19571 @Experimental | 19579 @Experimental |
| 19572 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shad
ow-element | 19580 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shad
ow-element |
| 19573 class ShadowElement extends Element native "HTMLShadowElement" { | 19581 class ShadowElement extends Element native "HTMLShadowElement" { |
| 19574 | 19582 |
| 19583 @DomName('HTMLShadowElement.HTMLShadowElement') |
| 19584 @DocsEditable |
| 19585 factory ShadowElement() => document.$dom_createElement("shadow"); |
| 19586 |
| 19575 /// Checks if this type is supported on the current platform. | 19587 /// Checks if this type is supported on the current platform. |
| 19576 static bool get supported => Element.isTagSupported('shadow'); | 19588 static bool get supported => Element.isTagSupported('shadow'); |
| 19577 | 19589 |
| 19578 @DomName('HTMLShadowElement.olderShadowRoot') | 19590 @DomName('HTMLShadowElement.olderShadowRoot') |
| 19579 @DocsEditable | 19591 @DocsEditable |
| 19580 final ShadowRoot olderShadowRoot; | 19592 final ShadowRoot olderShadowRoot; |
| 19581 | 19593 |
| 19582 @DomName('HTMLShadowElement.resetStyleInheritance') | 19594 @DomName('HTMLShadowElement.resetStyleInheritance') |
| 19583 @DocsEditable | 19595 @DocsEditable |
| 19584 bool resetStyleInheritance; | 19596 bool resetStyleInheritance; |
| (...skipping 10305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29890 _position = nextPosition; | 29902 _position = nextPosition; |
| 29891 return true; | 29903 return true; |
| 29892 } | 29904 } |
| 29893 _current = null; | 29905 _current = null; |
| 29894 _position = _array.length; | 29906 _position = _array.length; |
| 29895 return false; | 29907 return false; |
| 29896 } | 29908 } |
| 29897 | 29909 |
| 29898 T get current => _current; | 29910 T get current => _current; |
| 29899 } | 29911 } |
| OLD | NEW |