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

Unified Diff: tests/html/css_test.dart

Issue 15773008: Exposing DOM float & double types as double rather than num. Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | « tests/html/canvasrenderingcontext2d_test.dart ('k') | tests/html/instance_of_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/css_test.dart
diff --git a/tests/html/css_test.dart b/tests/html/css_test.dart
index 01a05d06b8e7a460a770db0e9ea6e442d20541d9..4dbc8b0dcbc549ff577310eaf1fd1c97ab668b8a 100644
--- a/tests/html/css_test.dart
+++ b/tests/html/css_test.dart
@@ -30,10 +30,10 @@ main() {
''';
document.body.append(element);
- Point point = new Point(5, 2);
+ Point point = new Point(5.0, 2.0);
checkPoint(5, 2, point);
checkPoint(255, 102, window.convertPointFromNodeToPage(element, point));
- point = new Point(5, 100);
+ point = new Point(5.0, 100.0);
checkPoint(5, 100, point);
checkPoint(255, 200, window.convertPointFromNodeToPage(element, point));
}, expectation);
« no previous file with comments | « tests/html/canvasrenderingcontext2d_test.dart ('k') | tests/html/instance_of_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698