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

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: Created 6 years 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..fa0cd1ab83337ff596fe8a14740f9c1e7475b529
--- /dev/null
+++ b/LayoutTests/fast/events/resources/menu-key-context-menu-position-frame.html
@@ -0,0 +1,11 @@
+<html>
+<body>
+ <form>
+ <input id="ex1" type="reset" value="Reset">
+ <input id="ex2" type="submit" value="Submit">
+ </form>
+ <script>
+ document.addEventListener('contextmenu', parent.onEventInFrame, true);
+ </script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698