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

Unified Diff: third_party/WebKit/Source/core/events/MouseEvent.idl

Issue 1654653002: Canvas2d: Implement rerouting event by hit region's control. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bot errors Created 4 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
Index: third_party/WebKit/Source/core/events/MouseEvent.idl
diff --git a/third_party/WebKit/Source/core/events/MouseEvent.idl b/third_party/WebKit/Source/core/events/MouseEvent.idl
index 0f4eab1985cb2953ebd86d4c50c9fbae9b2ac537..5d8696c489071fbcfe786142129dbb69cb50d870 100644
--- a/third_party/WebKit/Source/core/events/MouseEvent.idl
+++ b/third_party/WebKit/Source/core/events/MouseEvent.idl
@@ -70,6 +70,10 @@
[MeasureAs=MouseEventMovementX] readonly attribute long movementX;
[MeasureAs=MouseEventMovementY] readonly attribute long movementY;
+ // Canvas Hit Regions
+ // https://html.spec.whatwg.org/multipage/scripting.html#MouseEvent-partial
+ [RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute DOMString? region;
+
// Non-standard
[MeasureAs=MouseEventFromElement] readonly attribute Node fromElement;
[MeasureAs=MouseEventToElement] readonly attribute Node toElement;

Powered by Google App Engine
This is Rietveld 408576698