| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 library transition_event_test; | 5 library transition_event_test; |
| 6 |
| 6 import 'package:unittest/unittest.dart'; | 7 import 'package:unittest/unittest.dart'; |
| 7 import 'package:unittest/html_individual_config.dart'; | 8 import 'package:unittest/html_individual_config.dart'; |
| 8 import 'dart:html'; | 9 import 'dart:html'; |
| 9 import 'dart:async'; | 10 import 'dart:async'; |
| 10 | 11 |
| 11 main() { | 12 main() { |
| 12 useHtmlIndividualConfiguration(); | 13 useHtmlIndividualConfiguration(); |
| 13 | 14 |
| 14 group('supported', () { | 15 group('supported', () { |
| 15 test('supported', () { | 16 test('supported', () { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 34 expect(e is TransitionEvent, isTrue); | 35 expect(e is TransitionEvent, isTrue); |
| 35 expect(e.propertyName, 'opacity'); | 36 expect(e.propertyName, 'opacity'); |
| 36 })); | 37 })); |
| 37 | 38 |
| 38 element.style.opacity = '1'; | 39 element.style.opacity = '1'; |
| 39 })); | 40 })); |
| 40 } | 41 } |
| 41 }); | 42 }); |
| 42 }); | 43 }); |
| 43 } | 44 } |
| OLD | NEW |