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

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

Issue 25741004: set and get scrollTop/Left through documentElement and body should be symmetric, according to the d… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: set and get scrollTop/Left through documentElement and body should be symmetric, according to the d… Created 7 years, 2 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
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 iframe { 9 iframe {
10 width: 350px; 10 width: 350px;
(...skipping 12 matching lines...) Expand all
23 document.documentElement.setAttribute('dumpRenderTree', 'true'); 23 document.documentElement.setAttribute('dumpRenderTree', 'true');
24 24
25 function handler() {}; 25 function handler() {};
26 var frame = document.getElementById('frame'); 26 var frame = document.getElementById('frame');
27 frameElement.addHandlers = function() { 27 frameElement.addHandlers = function() {
28 frame.addHandlers(); 28 frame.addHandlers();
29 } 29 }
30 frameElement.removeHandlers = function() { 30 frameElement.removeHandlers = function() {
31 frame.removeHandlers(); 31 frame.removeHandlers();
32 } 32 }
33 document.body.scrollTop = 33; 33 document.documentElement.scrollTop = 33;
34 </script> 34 </script>
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698