Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: tests/html/cssstyledeclaration_test.dart

Issue 10905219: Revert "Fixing up setting styles to invalidate on IE9." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/html/templates/html/impl/impl_CSSStyleDeclaration.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/cssstyledeclaration_test.dart
diff --git a/tests/html/cssstyledeclaration_test.dart b/tests/html/cssstyledeclaration_test.dart
index 91cfb60b5efb7fa10167b7d701334b404ffcfd47..087a2f68fc38529d4ce82125c24eb54f15b780b1 100644
--- a/tests/html/cssstyledeclaration_test.dart
+++ b/tests/html/cssstyledeclaration_test.dart
@@ -63,6 +63,8 @@ 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
@@ -71,20 +73,4 @@ 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);
- });
}
« no previous file with comments | « lib/html/templates/html/impl/impl_CSSStyleDeclaration.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698