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

Unified 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, 10 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/LayoutTests/fast/events/resources/iframe-mousewheel.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/resources/iframe-onmousemove.html b/third_party/WebKit/LayoutTests/fast/events/resources/iframe-mousewheel.html
similarity index 73%
copy from third_party/WebKit/LayoutTests/fast/events/resources/iframe-onmousemove.html
copy to third_party/WebKit/LayoutTests/fast/events/resources/iframe-mousewheel.html
index 9380b819eab3f81e449d8a9330aa7e671fe2083e..212477d638d4d9c923d0fc43aa639b2ca49979c3 100644
--- a/third_party/WebKit/LayoutTests/fast/events/resources/iframe-onmousemove.html
+++ b/third_party/WebKit/LayoutTests/fast/events/resources/iframe-mousewheel.html
@@ -1,7 +1,5 @@
-<html>
-<head>
<style>
-/* We center the square so as to simplify the eventSender logic in parent.runTest(). */
+/* We center the square so as to simplify the eventSender logic in parent.runTest(). */
#test-container { margin: 0px auto; width: 128px; height: 128px; }
#square { display: table-cell; text-align: center; vertical-align: middle; width: inherit; height: inherit; color: black; border: 1px dashed; }
@@ -9,7 +7,5 @@
</head>
<body>
<div id="test-container">
- <div id="square" onmousemove="parent.done()">Mouse over me.</div>
+ <div id="square" onwheel="parent.iframeMouseWheel()">Mouse wheel over me.</div>
</div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698