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

Unified Diff: tests/html/wheelevent_test.dart

Issue 12493003: Exposing Point & Rect types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Sync to ToT Created 7 years, 9 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/rect_test.dart ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/wheelevent_test.dart
diff --git a/tests/html/wheelevent_test.dart b/tests/html/wheelevent_test.dart
index 2dc9adc81ac55aeb26bbebdb39f03060ee82b993..ce801f509e18a938d1408acf445f1e1c52c7ac46 100644
--- a/tests/html/wheelevent_test.dart
+++ b/tests/html/wheelevent_test.dart
@@ -17,7 +17,7 @@ main() {
var eventType = Element.mouseWheelEvent.getEventType(element);
element.onMouseWheel.listen(expectAsync1((e) {
- expect(e.screenX, 100);
+ expect(e.screen.x, 100);
expect(e.deltaX, 0);
expect(e.deltaY, 240);
expect(e.deltaMode, isNotNull);
@@ -34,7 +34,7 @@ main() {
var eventType = Element.mouseWheelEvent.getEventType(element);
element.onMouseWheel.listen(expectAsync1((e) {
- expect(e.screenX, 100);
+ expect(e.screen.x, 100);
expect(e.deltaX, 0);
expect(e.deltaY, 240);
}));
« no previous file with comments | « tests/html/rect_test.dart ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698