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

Side by Side Diff: LayoutTests/touchadjustment/disabled-formelements.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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Touch Adjustment : Disabled form elements - bug 92093</title> 4 <title>Touch Adjustment : Disabled form elements - bug 92093</title>
5 <script src="../fast/js/resources/js-test-pre.js"></script> 5 <script src="../fast/js/resources/js-test-pre.js"></script>
6 <script src="resources/touchadjustment.js"></script> 6 <script src="resources/touchadjustment.js"></script>
7 <style type="text/css"> 7 <style type="text/css">
8 #sandbox { 8 #sandbox {
9 position: absolute; 9 position: absolute;
10 left: 0px; 10 left: 0px;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 testTouchPoint(touchPoint(60, 25, 10), e.input2); 55 testTouchPoint(touchPoint(60, 25, 10), e.input2);
56 testTouchPoint(touchPoint(60, 20, 15), e.input2); 56 testTouchPoint(touchPoint(60, 20, 15), e.input2);
57 testTouchPoint(touchPoint(60, 16, 20), e.input2); 57 testTouchPoint(touchPoint(60, 16, 20), e.input2);
58 } 58 }
59 59
60 function runTests() 60 function runTests()
61 { 61 {
62 if (window.testRunner && window.internals && internals.touchNodeAdjusted ToBestClickableNode) { 62 if (window.testRunner && window.internals && internals.touchNodeAdjusted ToBestClickableNode) {
63 description(document.title); 63 description(document.title);
64 // Mouse events only work after an initial layout
65 document.body.offsetLeft;
66 testDirectTouches(); 64 testDirectTouches();
67 testAdjustedTouches(); 65 testAdjustedTouches();
68 e.sandbox.style.display = 'none'; 66 e.sandbox.style.display = 'none';
69 } 67 }
70 } 68 }
71 69
72 runTests(); 70 runTests();
73 </script> 71 </script>
74 72
75 <script src="../fast/js/resources/js-test-post.js"></script> 73 <script src="../fast/js/resources/js-test-post.js"></script>
76 74
77 </body> 75 </body>
78 </html> 76 </html>
OLDNEW
« no previous file with comments | « LayoutTests/touchadjustment/context-menu-text-subtargets.html ('k') | LayoutTests/touchadjustment/rotated-node.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698