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

Unified Diff: LayoutTests/fast/events/overflow-composited-scroll-fake-mouse-move.html

Issue 1309983002: Fix fake mouse move event on scroll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix dependency Created 5 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/overflow-composited-scroll-fake-mouse-move-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/overflow-composited-scroll-fake-mouse-move.html
diff --git a/LayoutTests/fast/events/overflow-composited-scroll-fake-mouse-move.html b/LayoutTests/fast/events/overflow-composited-scroll-fake-mouse-move.html
new file mode 100644
index 0000000000000000000000000000000000000000..ae6cce194b8c0e2b12be28d93259e2ba047cd6ce
--- /dev/null
+++ b/LayoutTests/fast/events/overflow-composited-scroll-fake-mouse-move.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<div id="container" style="overflow: auto; height: 200px; width: 200px; backface-visibility: hidden">
+ <div id="target" style="margin: 50px 0; overflow: auto; height: 250px; width: 100px">
+ <div onmouseover="mouseOver(event)" style="margin: 250px 0; width: 20px; height: 20px; background-color: blue;"></div>
+ </div>
+</div>
+<div id="result">Test needs DumpRenderTree</div>
+<script>
+ function mouseOver(event) {
+ document.getElementById("result").innerText = "PASS";
+ testRunner.notifyDone();
+ }
+
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+
+ onload = function() {
+ document.getElementById("container").scrollTop = 50;
+ runAfterLayoutAndPaint(function() {
+ eventSender.mouseMoveTo(10, 10);
+ document.getElementById("target").scrollTop = 250;
+ });
+ };
+ }
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/events/overflow-composited-scroll-fake-mouse-move-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698