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

Unified Diff: tests/html/mouse_event_test.dart

Issue 454043004: Deprecate MouseEvent.elementTo and elementFrom since they have the same (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/docs/docs.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/mouse_event_test.dart
diff --git a/tests/html/mouse_event_test.dart b/tests/html/mouse_event_test.dart
index dcd442ff833f063a219cc9beb170173611f455bd..38792c27257a0093da2c6c9f518ccfba2a4e401f 100644
--- a/tests/html/mouse_event_test.dart
+++ b/tests/html/mouse_event_test.dart
@@ -13,5 +13,8 @@ main() {
test('relatedTarget', () {
var event = new MouseEvent('mouseout');
expect(event.relatedTarget, isNull);
+
+ event = new MouseEvent('mouseout', relatedTarget: document.body);
+ expect(event.relatedTarget, document.body);
});
}
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/docs/docs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698