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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/resources/iframe-mousewheel.html

Issue 1731353003: Prevent propagation of wheel events to dispatch event in parent iframe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 unified diff | Download patch
OLDNEW
1 <html>
2 <head>
3 <style> 1 <style>
4 /* We center the square so as to simplify the eventSender logic in parent.runTes t(). */ 2 /* We center the square so as to simplify the eventSender logic in parent.runTes t(). */
5 #test-container { margin: 0px auto; width: 128px; height: 128px; } 3 #test-container { margin: 0px auto; width: 128px; height: 128px; }
6 4
7 #square { display: table-cell; text-align: center; vertical-align: middle; width : inherit; height: inherit; color: black; border: 1px dashed; } 5 #square { display: table-cell; text-align: center; vertical-align: middle; width : inherit; height: inherit; color: black; border: 1px dashed; }
8 </style> 6 </style>
9 </head> 7 </head>
10 <body> 8 <body>
11 <div id="test-container"> 9 <div id="test-container">
12 <div id="square" onmousemove="parent.done()">Mouse over me.</div> 10 <div id="square" onwheel="parent.iframeMouseWheel()">Mouse wheel over me.</d iv>
13 </div> 11 </div>
14 </body>
15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698