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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 1921823002: Fix MouseEvent.movement to not use old webkit prefix (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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:
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 1d4407bd3319bce10102472c62b0664454219acb..d9cb35946f49310f5fd0ef22a0ceeba354c936f7 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -24049,22 +24049,6 @@ class MouseEvent extends UIEvent {
@deprecated
final Node toElement;
- @JSName('webkitMovementX')
- @DomName('MouseEvent.webkitMovementX')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- final int _webkitMovementX;
-
- @JSName('webkitMovementY')
- @DomName('MouseEvent.webkitMovementY')
- @DocsEditable()
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental()
- final int _webkitMovementY;
-
// Use implementation from UIEvent.
// final int _which;
@@ -24088,9 +24072,9 @@ class MouseEvent extends UIEvent {
@DomName('MouseEvent.movementX')
@DomName('MouseEvent.movementY')
@SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
+ @SupportedBrowser(SupportedBrowser.FIREFOX)
@Experimental()
- Point get movement => new Point(_webkitMovementX, _webkitMovementY);
+ Point get movement => new Point(movementX, movementY);
/**
* The coordinates of the mouse pointer in target node coordinates.
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698