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

Side by Side Diff: LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects-iframe-fixed.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 21 matching lines...) Expand all
32 document.documentElement.setAttribute('dumpRenderTree', 'true'); 32 document.documentElement.setAttribute('dumpRenderTree', 'true');
33 33
34 function handler() {}; 34 function handler() {};
35 frameElement.addHandlers = function() { 35 frameElement.addHandlers = function() {
36 document.getElementById('fixed').addEventListener('touchstart', handler, fal se); 36 document.getElementById('fixed').addEventListener('touchstart', handler, fal se);
37 } 37 }
38 frameElement.removeHandlers = function() { 38 frameElement.removeHandlers = function() {
39 document.getElementById('fixed').removeEventListener('touchstart', handler, false); 39 document.getElementById('fixed').removeEventListener('touchstart', handler, false);
40 } 40 }
41 // Scrolling shouldn't affect the fixed-position div 41 // Scrolling shouldn't affect the fixed-position div
42 document.body.scrollTop = 105; 42 document.scrollingElement.scrollTop = 105;
43 </script> 43 </script>
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698