| Index: tests/html/cssstyledeclaration_test.dart
|
| diff --git a/tests/html/cssstyledeclaration_test.dart b/tests/html/cssstyledeclaration_test.dart
|
| index 087a2f68fc38529d4ce82125c24eb54f15b780b1..91cfb60b5efb7fa10167b7d701334b404ffcfd47 100644
|
| --- a/tests/html/cssstyledeclaration_test.dart
|
| +++ b/tests/html/cssstyledeclaration_test.dart
|
| @@ -63,8 +63,6 @@ main() {
|
| element.style.transform = 'translateX(10px)';
|
| document.body.elements.add(element);
|
|
|
| - var style = new CSSStyleDeclaration();
|
| -
|
| element.getComputedStyle('').then(expectAsync1(
|
| (CSSStyleDeclaration style) {
|
| // Some browsers will normalize this, so it'll be a matrix rather than
|
| @@ -73,4 +71,20 @@ main() {
|
| }
|
| ));
|
| });
|
| +
|
| + // IE9 requires an extra poke for some properties to get applied.
|
| + test('IE9 Invalidation', () {
|
| + var element = new DivElement();
|
| + document.body.elements.add(element);
|
| +
|
| + // Need to wait one tick after the element has been added to the page.
|
| + window.setTimeout(expectAsync0(() {
|
| + element.style.textDecoration = 'underline';
|
| + element.getComputedStyle('').then(expectAsync1(
|
| + (CSSStyleDeclaration style) {
|
| + expect(style.textDecoration, equals('underline'));
|
| + }
|
| + ));
|
| + }), 10);
|
| + });
|
| }
|
|
|