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

Side by Side Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-no-graphics-layer-region-based-multicol.html

Issue 1119293002: Enable new multicol for testing and experimental web platform features. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/VirtualTestSuites ('k') | LayoutTests/fast/dom/Element/getBoundingClientRect.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 This test passes if it does not crash. 2 This test passes if it does not crash.
3 <script> 3 <script>
4 function runTest() { 4 function runTest() {
5 var clientRect = document.getElementById("innerDiv").getBoundingClientRect() ; 5 var clientRect = document.getElementById("innerDiv").getBoundingClientRect() ;
6 x = (clientRect.left + clientRect.right) / 2; 6 x = (clientRect.left + clientRect.right) / 2;
7 y = (clientRect.top + clientRect.bottom) / 2; 7 y = (clientRect.top + clientRect.bottom) / 2;
8 if (window.testRunner) 8 if (window.testRunner)
9 eventSender.gestureShowPress(x, y); 9 eventSender.gestureShowPress(x, y);
10 } 10 }
11 if (window.internals)
12 internals.settings.setRegionBasedColumnsEnabled(true);
13 11
14 if (window.testRunner) 12 if (window.testRunner)
15 testRunner.dumpAsText(); 13 testRunner.dumpAsText();
16 </script> 14 </script>
17 <body onload=runTest() style="margin:0; overflow:-webkit-paged-x;"> 15 <body onload=runTest() style="margin:0; overflow:-webkit-paged-x;">
18 <div id="outerDiv" style="cursor: pointer"> 16 <div id="outerDiv" style="cursor: pointer">
19 <div id="innerDiv" style="padding: 15px"> 17 <div id="innerDiv" style="padding: 15px">
20 </body> 18 </body>
OLDNEW
« no previous file with comments | « LayoutTests/VirtualTestSuites ('k') | LayoutTests/fast/dom/Element/getBoundingClientRect.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698