| 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 25457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25468 @DomName('StyleSheetList.item') | 25468 @DomName('StyleSheetList.item') |
| 25469 @DocsEditable | 25469 @DocsEditable |
| 25470 StyleSheet item(int index) native; | 25470 StyleSheet item(int index) native; |
| 25471 } | 25471 } |
| 25472 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25472 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25473 // for details. All rights reserved. Use of this source code is governed by a | 25473 // for details. All rights reserved. Use of this source code is governed by a |
| 25474 // BSD-style license that can be found in the LICENSE file. | 25474 // BSD-style license that can be found in the LICENSE file. |
| 25475 | 25475 |
| 25476 | 25476 |
| 25477 @DocsEditable | 25477 @DocsEditable |
| 25478 @DomName('WebKitCSSFilterValue') | |
| 25479 // http://dev.w3.org/csswg/cssom/ | |
| 25480 @deprecated // deprecated | |
| 25481 abstract class _WebKitCSSFilterValue extends _CssValueList native "WebKitCSSFilt
erValue" { | |
| 25482 } | |
| 25483 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 25484 // for details. All rights reserved. Use of this source code is governed by a | |
| 25485 // BSD-style license that can be found in the LICENSE file. | |
| 25486 | |
| 25487 | |
| 25488 @DocsEditable | |
| 25489 @DomName('WebKitCSSMatrix') | |
| 25490 // http://dev.w3.org/csswg/cssom/ | |
| 25491 @deprecated // deprecated | |
| 25492 abstract class _WebKitCSSMatrix native "WebKitCSSMatrix" { | |
| 25493 | |
| 25494 @DomName('WebKitCSSMatrix.WebKitCSSMatrix') | |
| 25495 @DocsEditable | |
| 25496 factory _WebKitCSSMatrix([String cssValue]) { | |
| 25497 if (cssValue != null) { | |
| 25498 return _WebKitCSSMatrix._create_1(cssValue); | |
| 25499 } | |
| 25500 return _WebKitCSSMatrix._create_2(); | |
| 25501 } | |
| 25502 static _WebKitCSSMatrix _create_1(cssValue) => JS('_WebKitCSSMatrix', 'new Web
KitCSSMatrix(#)', cssValue); | |
| 25503 static _WebKitCSSMatrix _create_2() => JS('_WebKitCSSMatrix', 'new WebKitCSSMa
trix()'); | |
| 25504 } | |
| 25505 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 25506 // for details. All rights reserved. Use of this source code is governed by a | |
| 25507 // BSD-style license that can be found in the LICENSE file. | |
| 25508 | |
| 25509 | |
| 25510 @DocsEditable | |
| 25511 @DomName('WebKitCSSMixFunctionValue') | |
| 25512 // http://dev.w3.org/csswg/cssom/ | |
| 25513 @deprecated // deprecated | |
| 25514 abstract class _WebKitCSSMixFunctionValue extends _CssValueList native "WebKitCS
SMixFunctionValue" { | |
| 25515 } | |
| 25516 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 25517 // for details. All rights reserved. Use of this source code is governed by a | |
| 25518 // BSD-style license that can be found in the LICENSE file. | |
| 25519 | |
| 25520 | |
| 25521 @DocsEditable | |
| 25522 @DomName('WebKitCSSTransformValue') | |
| 25523 // http://dev.w3.org/csswg/cssom/ | |
| 25524 @deprecated // deprecated | |
| 25525 abstract class _WebKitCSSTransformValue extends _CssValueList native "WebKitCSST
ransformValue" { | |
| 25526 } | |
| 25527 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 25528 // for details. All rights reserved. Use of this source code is governed by a | |
| 25529 // BSD-style license that can be found in the LICENSE file. | |
| 25530 | |
| 25531 | |
| 25532 @DocsEditable | |
| 25533 @DomName('WebKitCSSFilterRule') | |
| 25534 // http://www.w3.org/TR/filter-effects/ | |
| 25535 @Experimental | |
| 25536 class _WebKitCssFilterRule extends CssRule native "WebKitCSSFilterRule" { | |
| 25537 | |
| 25538 @DomName('WebKitCSSFilterRule.style') | |
| 25539 @DocsEditable | |
| 25540 final CssStyleDeclaration style; | |
| 25541 } | |
| 25542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 25543 // for details. All rights reserved. Use of this source code is governed by a | |
| 25544 // BSD-style license that can be found in the LICENSE file. | |
| 25545 | |
| 25546 | |
| 25547 @DocsEditable | |
| 25548 @DomName('WebKitCSSKeyframeRule') | |
| 25549 // http://www.w3.org/TR/css3-animations/#CSSKeyframeRule-interface | |
| 25550 @Experimental | |
| 25551 class _WebKitCssKeyframeRule extends CssRule native "WebKitCSSKeyframeRule" { | |
| 25552 | |
| 25553 @DomName('WebKitCSSKeyframeRule.keyText') | |
| 25554 @DocsEditable | |
| 25555 String keyText; | |
| 25556 | |
| 25557 @DomName('WebKitCSSKeyframeRule.style') | |
| 25558 @DocsEditable | |
| 25559 final CssStyleDeclaration style; | |
| 25560 } | |
| 25561 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 25562 // for details. All rights reserved. Use of this source code is governed by a | |
| 25563 // BSD-style license that can be found in the LICENSE file. | |
| 25564 | |
| 25565 | |
| 25566 @DocsEditable | |
| 25567 @DomName('WebKitCSSKeyframesRule') | |
| 25568 // http://www.w3.org/TR/css3-animations/#csskeyframesrule | |
| 25569 @Experimental | |
| 25570 class _WebKitCssKeyframesRule extends CssRule native "WebKitCSSKeyframesRule" { | |
| 25571 | |
| 25572 @DomName('WebKitCSSKeyframesRule.cssRules') | |
| 25573 @DocsEditable | |
| 25574 @Returns('_CssRuleList') | |
| 25575 @Creates('_CssRuleList') | |
| 25576 final List<CssRule> cssRules; | |
| 25577 | |
| 25578 @DomName('WebKitCSSKeyframesRule.name') | |
| 25579 @DocsEditable | |
| 25580 String name; | |
| 25581 | |
| 25582 @DomName('WebKitCSSKeyframesRule.__getter__') | |
| 25583 @DocsEditable | |
| 25584 @Experimental // untriaged | |
| 25585 _WebKitCssKeyframeRule __getter__(int index) native; | |
| 25586 | |
| 25587 @DomName('WebKitCSSKeyframesRule.deleteRule') | |
| 25588 @DocsEditable | |
| 25589 void deleteRule(String key) native; | |
| 25590 | |
| 25591 @DomName('WebKitCSSKeyframesRule.findRule') | |
| 25592 @DocsEditable | |
| 25593 _WebKitCssKeyframeRule findRule(String key) native; | |
| 25594 | |
| 25595 @DomName('WebKitCSSKeyframesRule.insertRule') | |
| 25596 @DocsEditable | |
| 25597 void insertRule(String rule) native; | |
| 25598 } | |
| 25599 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 25600 // for details. All rights reserved. Use of this source code is governed by a | |
| 25601 // BSD-style license that can be found in the LICENSE file. | |
| 25602 | |
| 25603 | |
| 25604 @DocsEditable | |
| 25605 @DomName('WebKitCSSRegionRule') | |
| 25606 // http://dev.w3.org/csswg/css-regions/#region-style-rule-interface | |
| 25607 @Experimental | |
| 25608 class _WebKitCssRegionRule extends CssRule native "WebKitCSSRegionRule" { | |
| 25609 | |
| 25610 @DomName('WebKitCSSRegionRule.cssRules') | |
| 25611 @DocsEditable | |
| 25612 @Returns('_CssRuleList') | |
| 25613 @Creates('_CssRuleList') | |
| 25614 final List<CssRule> cssRules; | |
| 25615 } | |
| 25616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 25617 // for details. All rights reserved. Use of this source code is governed by a | |
| 25618 // BSD-style license that can be found in the LICENSE file. | |
| 25619 | |
| 25620 | |
| 25621 @DocsEditable | |
| 25622 @DomName('WorkerContext') | 25478 @DomName('WorkerContext') |
| 25623 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#Work
erGlobalScope-partial | 25479 // http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#Work
erGlobalScope-partial |
| 25624 @Experimental // stable | 25480 @Experimental // stable |
| 25625 abstract class _WorkerContext extends EventTarget native "WorkerContext" { | 25481 abstract class _WorkerContext extends EventTarget native "WorkerContext" { |
| 25626 } | 25482 } |
| 25627 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25483 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25628 // for details. All rights reserved. Use of this source code is governed by a | 25484 // for details. All rights reserved. Use of this source code is governed by a |
| 25629 // BSD-style license that can be found in the LICENSE file. | 25485 // BSD-style license that can be found in the LICENSE file. |
| 25630 | 25486 |
| 25631 | 25487 |
| (...skipping 4399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30031 _position = nextPosition; | 29887 _position = nextPosition; |
| 30032 return true; | 29888 return true; |
| 30033 } | 29889 } |
| 30034 _current = null; | 29890 _current = null; |
| 30035 _position = _array.length; | 29891 _position = _array.length; |
| 30036 return false; | 29892 return false; |
| 30037 } | 29893 } |
| 30038 | 29894 |
| 30039 T get current => _current; | 29895 T get current => _current; |
| 30040 } | 29896 } |
| OLD | NEW |