Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / touch / gesture / resources / context-menu-on-two-finger-tap-iframe-inner.html
blobe8442b63e9956a81d828f4ed284c892a6b4e5a09
1 <!DOCTYPE html>
2 <html>
3 <style>
4 body {
5 background-color: red;
7 </style>
8 <body onload='runTest()'>
9 </body>
10 <script>
11 function onContextMenu(event) {
12 if (window != window.parent && window.parent == window.top)
13 parent.recordContextMenu(event);
16 function runTest() {
17 document.addEventListener('contextmenu', onContextMenu);
18 parent.runTest();
20 </script>
21 </html>