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

Unified Diff: tests/html/cssstyledeclaration_test.dart

Issue 21252004: Fix border-left measurement for IE. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 | « no previous file | 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 63ff4c6768fee514c6a063561f4c3b21b42be465..45df00cd48409aca4d94e8573c9d699621f4996a 100644
--- a/tests/html/cssstyledeclaration_test.dart
+++ b/tests/html/cssstyledeclaration_test.dart
@@ -108,10 +108,10 @@ main() {
var elements = document.queryAll('li');
expect(elements.style.backgroundColor, equals('red'));
- expect(elements.style.borderLeft, equals('10px'));
+ expect(elements.style.borderLeftWidth, equals('10px'));
elements = document.queryAll('.baz');
expect(elements.style.backgroundColor, equals('black'));
- expect(elements.style.borderLeft, equals(''));
+ expect(elements.style.borderLeftWidth, equals(''));
elements = document.queryAll('.bar');
expect(elements.style.backgroundColor, equals('red'));
});
@@ -127,22 +127,22 @@ main() {
var elements = document.queryAll('li');
elements.style.backgroundColor = 'green';
expect(elements.style.backgroundColor, equals('green'));
- expect(elements.style.borderLeft, equals('10px'));
+ expect(elements.style.borderLeftWidth, equals('10px'));
elements = document.queryAll('.baz');
expect(elements.style.backgroundColor, equals('green'));
elements.style.backgroundColor = 'yellow';
expect(elements.style.backgroundColor, equals('yellow'));
- expect(elements.style.borderLeft, equals(''));
+ expect(elements.style.borderLeftWidth, equals(''));
elements = document.queryAll('.bar');
expect(elements.style.backgroundColor, equals('green'));
elements = document.queryAll('#wat');
expect(elements.style.backgroundColor, equals('yellow'));
- elements.style.borderLeft = '18px';
- expect(elements.style.borderLeft, equals('18px'));
+ elements.style.borderLeftWidth = '18px';
+ expect(elements.style.borderLeftWidth, equals('18px'));
elements = document.queryAll('li');
- expect(elements.style.borderLeft, equals('10px'));
+ expect(elements.style.borderLeftWidth, equals('10px'));
});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698