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

Side by Side Diff: tests/html/css_style_declaration_tests.dart

Issue 10191033: test renaming overhaul: step 4 client tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 testCSSStyleDeclaration() { 5 testCSSStyleDeclaration() {
6 createTestStyle() { 6 createTestStyle() {
7 return new CSSStyleDeclaration.css(""" 7 return new CSSStyleDeclaration.css("""
8 color: blue; 8 color: blue;
9 width: 2px !important; 9 width: 2px !important;
10 -webkit-transform: rotate(90deg); 10 -webkit-transform: rotate(90deg);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 Expect.equals("2px", style.width); 63 Expect.equals("2px", style.width);
64 Expect.equals("rotate(90deg)", style.transform); 64 Expect.equals("rotate(90deg)", style.transform);
65 65
66 style.color = "red"; 66 style.color = "red";
67 style.transform = "translate(10px, 20px)"; 67 style.transform = "translate(10px, 20px)";
68 Expect.equals( 68 Expect.equals(
69 "color: red; width: 2px !important; -webkit-transform: translate(10px, 20p x); ", 69 "color: red; width: 2px !important; -webkit-transform: translate(10px, 20p x); ",
70 style.cssText); 70 style.cssText);
71 }); 71 });
72 } 72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698