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

Unified Diff: LayoutTests/fast/events/resources/menu-key-context-menu-position-frame.html

Issue 766143002: Fix contextmenu event location for menu key in an iframe (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding failure case for mac, as mac does not have menu key. Created 5 years, 11 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: LayoutTests/fast/events/resources/menu-key-context-menu-position-frame.html
diff --git a/LayoutTests/fast/events/resources/menu-key-context-menu-position-frame.html b/LayoutTests/fast/events/resources/menu-key-context-menu-position-frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..0c9a79b733e7199f1fb345c65bc99455a7495399
--- /dev/null
+++ b/LayoutTests/fast/events/resources/menu-key-context-menu-position-frame.html
@@ -0,0 +1,7 @@
+<form>
+ <input id="ex1" type="reset" value="Reset">
+ <input id="ex2" type="submit" value="Submit">
+</form>
+<script>
+ document.addEventListener('contextmenu', parent.onEventInFrame, true);
+</script>
« no previous file with comments | « LayoutTests/fast/events/menu-key-context-menu-position-expected.txt ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698