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

Side by Side Diff: LayoutTests/touchadjustment/zoom-fatfinger.html

Issue 15508003: Revert "Don't force layout for mouse event hit tests" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 | « LayoutTests/touchadjustment/zoom-basic.html ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../fast/js/resources/js-test-pre.js"></script> 3 <script src="../fast/js/resources/js-test-pre.js"></script>
4 <style> 4 <style>
5 #div1 { position: absolute; left: 100px; top: 100px; width: 200px; heigh t: 20px; } 5 #div1 { position: absolute; left: 100px; top: 100px; width: 200px; heigh t: 20px; }
6 </style> 6 </style>
7 </head> 7 </head>
8 <body onload="runTests()"> 8 <body onload="runTests()">
9 9
10 <div id=div1></div> 10 <div id=div1></div>
(...skipping 21 matching lines...) Expand all
32 shouldEvaluateTo('zoomableArea.height', 20); 32 shouldEvaluateTo('zoomableArea.height', 20);
33 33
34 } 34 }
35 35
36 function runTests() 36 function runTests()
37 { 37 {
38 if (window.testRunner && window.internals && internals.bestZoomableAreaF orTouchPoint) { 38 if (window.testRunner && window.internals && internals.bestZoomableAreaF orTouchPoint) {
39 description('Test that targetted area is picked even if the touch ar ea is not fully contained.'); 39 description('Test that targetted area is picked even if the touch ar ea is not fully contained.');
40 testRunner.dumpAsText(); 40 testRunner.dumpAsText();
41 testRunner.waitUntilDone(); 41 testRunner.waitUntilDone();
42 // Mouse events only work after an initial layout
43 document.body.offsetLeft;
44 testDirectTouches(); 42 testDirectTouches();
45 isSuccessfullyParsed(); 43 isSuccessfullyParsed();
46 testRunner.notifyDone(); 44 testRunner.notifyDone();
47 } 45 }
48 } 46 }
49 </script> 47 </script>
50 </body> 48 </body>
51 </html> 49 </html>
OLDNEW
« no previous file with comments | « LayoutTests/touchadjustment/zoom-basic.html ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698