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

Side by Side 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: 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <div id="container" style="overflow: auto; height: 200px; width: 200px; backface -visibility: hidden">
4 <div id="target" style="margin: 50px 0; overflow: auto; height: 250px; width : 100px">
5 <div onmouseover="mouseOver(event)" style="margin: 250px 0; width: 20px; height: 20px; background-color: blue;"></div>
6 </div>
7 </div>
8 <div id="result">Test needs DumpRenderTree</div>
9 <script>
10 function mouseOver(event) {
11 document.getElementById("result").innerText = "PASS";
12 testRunner.notifyDone();
13 }
14
15 function fail() {
16 document.getElementById("result").innerText = "FAIL";
17 testRunner.notifyDone();
18 }
19
20 if (window.testRunner) {
21 testRunner.dumpAsText();
22 testRunner.waitUntilDone();
23
24 onload = function() {
25 document.getElementById("container").scrollTop = 50;
26 runAfterLayoutAndPaint(function() {
27 eventSender.mouseMoveTo(10, 10);
28 document.getElementById("target").scrollTop = 250;
29 setTimeout(fail, 1000);
pdr. 2015/08/21 21:34:09 Lets just let the test timeout instead of making i
Xianzhu 2015/08/21 21:40:52 Done.
30 });
31 };
32 }
33 </script>
OLDNEW
« 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