| 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 // TODO(jacobr): use Lists.dart to remove some of the duplicated functionality. |    5 // TODO(jacobr): use Lists.dart to remove some of the duplicated functionality. | 
|    6 class _ChildrenElementList implements ElementList { |    6 class _ChildrenElementList implements ElementList { | 
|    7   // Raw Element. |    7   // Raw Element. | 
|    8   final _ElementJs _element; |    8   final _ElementJs _element; | 
|    9   final _HTMLCollectionJs _childElements; |    9   final _HTMLCollectionJs _childElements; | 
|   10  |   10  | 
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  298  |  298  | 
|  299 final _START_TAG_REGEXP = const RegExp('<(\\w+)'); |  299 final _START_TAG_REGEXP = const RegExp('<(\\w+)'); | 
|  300  |  300  | 
|  301 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |  301 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 
|  302  |  302  | 
|  303   static final _CUSTOM_PARENT_TAG_MAP = const { |  303   static final _CUSTOM_PARENT_TAG_MAP = const { | 
|  304     'body' : 'html', |  304     'body' : 'html', | 
|  305     'head' : 'html', |  305     'head' : 'html', | 
|  306     'caption' : 'table', |  306     'caption' : 'table', | 
|  307     'td': 'tr', |  307     'td': 'tr', | 
|  308     'tbody': 'table', |  | 
|  309     'colgroup': 'table', |  308     'colgroup': 'table', | 
|  310     'col' : 'colgroup', |  309     'col' : 'colgroup', | 
|  311     'tr' : 'tbody', |  310     'tr' : 'tbody', | 
|  312     'tbody' : 'table', |  311     'tbody' : 'table', | 
|  313     'tfoot' : 'table', |  312     'tfoot' : 'table', | 
|  314     'thead' : 'table', |  313     'thead' : 'table', | 
|  315     'track' : 'audio', |  314     'track' : 'audio', | 
|  316   }; |  315   }; | 
|  317  |  316  | 
|  318   /** @domName Document.createElement */ |  317   /** @domName Document.createElement */ | 
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  455   /** @domName Window.getComputedStyle */ |  454   /** @domName Window.getComputedStyle */ | 
|  456   Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) { |  455   Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) { | 
|  457     return _createMeasurementFuture(() => |  456     return _createMeasurementFuture(() => | 
|  458             _window._getComputedStyle(this, pseudoElement), |  457             _window._getComputedStyle(this, pseudoElement), | 
|  459         new Completer<CSSStyleDeclaration>()); |  458         new Completer<CSSStyleDeclaration>()); | 
|  460   } |  459   } | 
|  461  |  460  | 
|  462   _ElementJs clone(bool deep) native; |  461   _ElementJs clone(bool deep) native; | 
|  463 $!MEMBERS |  462 $!MEMBERS | 
|  464 } |  463 } | 
| OLD | NEW |