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

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

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a couple more tests 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="compositor-touch-hit-rects.css"> 4 <link rel="stylesheet" href="compositor-touch-hit-rects.css">
5 <style> 5 <style>
6 html { 6 html {
7 font-size: 10px; 7 font-size: 10px;
8 } 8 }
9 .testcase, .testcase * { 9 .testcase, .testcase * {
10 border: 1px solid red; 10 border: 1px solid red;
(...skipping 13 matching lines...) Expand all
24 document.documentElement.setAttribute('dumpRenderTree', 'true'); 24 document.documentElement.setAttribute('dumpRenderTree', 'true');
25 25
26 function handler() {}; 26 function handler() {};
27 frameElement.addHandlers = function() { 27 frameElement.addHandlers = function() {
28 document.getElementById('child').addEventListener('touchstart', handler, fal se); 28 document.getElementById('child').addEventListener('touchstart', handler, fal se);
29 } 29 }
30 frameElement.removeHandlers = function() { 30 frameElement.removeHandlers = function() {
31 document.getElementById('child').removeEventListener('touchstart', handler, false); 31 document.getElementById('child').removeEventListener('touchstart', handler, false);
32 } 32 }
33 // Scroll so the div is just slighly clipped. 33 // Scroll so the div is just slighly clipped.
34 document.body.scrollTop = 40; 34 document.scrollingElement.scrollTop = 40;
35 </script> 35 </script>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698