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

Side by Side Diff: LayoutTests/fast/events/touch/touch-hit-rects-in-iframe.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 <style> 4 <style>
5 #iframe1 { 5 #iframe1 {
6 position: absolute; 6 position: absolute;
7 top: 100px; 7 top: 100px;
8 left: 50px; 8 left: 50px;
9 width: 200px; 9 width: 200px;
10 height: 200px; 10 height: 200px;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 rects = window.internals.touchEventTargetClientRects(document); 49 rects = window.internals.touchEventTargetClientRects(document);
50 var sortedRects = new Array(); 50 var sortedRects = new Array();
51 for (var i = 0; i < rects.length; ++i) 51 for (var i = 0; i < rects.length; ++i)
52 sortedRects[i] = rects[i]; 52 sortedRects[i] = rects[i];
53 sortedRects.sort(sortRects); 53 sortedRects.sort(sortRects);
54 for (var i = 0; i < rects.length; ++i) 54 for (var i = 0; i < rects.length; ++i)
55 log("[" + i + "]: (" + sortedRects[i].left + ", " + sortedRects[ i].top + ", " + sortedRects[i].width + ", " + sortedRects[i].height + ")"); 55 log("[" + i + "]: (" + sortedRects[i].left + ", " + sortedRects[ i].top + ", " + sortedRects[i].width + ", " + sortedRects[i].height + ")");
56 } 56 }
57 </script> 57 </script>
58 </body> 58 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698