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

Side by Side Diff: LayoutTests/fast/html/details-mouse-click.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 1
2 <head> 2 <head>
3 <style> 3 <style>
4 body { 4 body {
5 margin: 0px; 5 margin: 0px;
6 } 6 }
7 div { 7 div {
8 width:200px; 8 width:200px;
9 height:80px; 9 height:80px;
10 } 10 }
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 clickElement(element); 59 clickElement(element);
60 }; 60 };
61 61
62 var runTests = function () { 62 var runTests = function () {
63 63
64 if (!window.testRunner || !window.eventSender) 64 if (!window.testRunner || !window.eventSender)
65 return; 65 return;
66 66
67 testRunner.dumpAsText(); 67 testRunner.dumpAsText();
68 68
69 // Mouse events only work after an initial layout
70 document.body.offsetLeft;
71
72 testElement(0); 69 testElement(0);
73 testElement(1); 70 testElement(1);
74 testElement(2); 71 testElement(2);
75 testElement(3); 72 testElement(3);
76 73
77 writeLog(error ? "FAIL" : "PASS"); 74 writeLog(error ? "FAIL" : "PASS");
78 } 75 }
79 76
80 </script> 77 </script>
81 78
(...skipping 15 matching lines...) Expand all
97 94
98 <div style="-webkit-writing-mode:vertical-rl;"> 95 <div style="-webkit-writing-mode:vertical-rl;">
99 <details id="details3"><input></details> 96 <details id="details3"><input></details>
100 </div> 97 </div>
101 98
102 <div id="results"> 99 <div id="results">
103 </div> 100 </div>
104 101
105 </body> 102 </body>
106 103
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698