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

Unified Diff: lib/html/doc/interface/MouseEvent.dartdoc

Issue 10867073: Adding polyfills for MouseEvent.offsetX and MouseEvent.offsetY so they work on FF. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding doc comments and unit test.wq Created 8 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 | « lib/html/dart2js/html_dart2js.dart ('k') | tests/html/event_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/doc/interface/MouseEvent.dartdoc
diff --git a/lib/html/doc/interface/MouseEvent.dartdoc b/lib/html/doc/interface/MouseEvent.dartdoc
index c4cf4985f76e652d7ca8b09e7ab3897addc0f041..41ec254f10a8f0292b7c593450e3e92506fdf835 100644
--- a/lib/html/doc/interface/MouseEvent.dartdoc
+++ b/lib/html/doc/interface/MouseEvent.dartdoc
@@ -39,10 +39,20 @@ interface MouseEvent extends UIEvent default _MouseEventFactoryProvider {
/** @domName MouseEvent.metaKey */
final bool metaKey;
- /** @domName MouseEvent.offsetX */
+ /**
+ * The X coordinate of the mouse pointer in target node coordinates.
+ * This value may vary between platforms if the target node moves
+ * after the event has fired or if the element has CSS transforms affecting
+ * it.
+ */
final int offsetX;
- /** @domName MouseEvent.offsetY */
+ /**
+ * The Y coordinate of the mouse pointer in target node coordinates.
+ * This value may vary between platforms if the target node moves
+ * after the event has fired or if the element has CSS transforms affecting
+ * it.
+ */
final int offsetY;
/** @domName MouseEvent.relatedTarget */
« no previous file with comments | « lib/html/dart2js/html_dart2js.dart ('k') | tests/html/event_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698