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

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

Issue 11865013: Merge 139346 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/platform/chromium/fast/events/touch/touch-hit-rects-in-iframe-expected.txt » ('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 <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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 rects = window.internals.touchEventTargetClientRects(document); 48 rects = window.internals.touchEventTargetClientRects(document);
49 var sortedRects = new Array(); 49 var sortedRects = new Array();
50 for (var i = 0; i < rects.length; ++i) 50 for (var i = 0; i < rects.length; ++i)
51 sortedRects[i] = rects[i]; 51 sortedRects[i] = rects[i];
52 sortedRects.sort(sortRects); 52 sortedRects.sort(sortRects);
53 for (var i = 0; i < rects.length; ++i) 53 for (var i = 0; i < rects.length; ++i)
54 log("[" + i + "]: (" + sortedRects[i].left + ", " + sortedRects[ i].top + ", " + sortedRects[i].width + ", " + sortedRects[i].height + ")"); 54 log("[" + i + "]: (" + sortedRects[i].left + ", " + sortedRects[ i].top + ", " + sortedRects[i].width + ", " + sortedRects[i].height + ")");
55 } 55 }
56 </script> 56 </script>
57 </body> 57 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/platform/chromium/fast/events/touch/touch-hit-rects-in-iframe-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698