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

Side by Side Diff: LayoutTests/compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport-expected.html

Issue 18546003: Fix tests to avoid page scale reset when setting page scale. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use setPageScaleFactorLimits(). Created 7 years, 4 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 body { 5 body {
6 width: 1000px; 6 width: 1000px;
7 height: 800px; 7 height: 800px;
8 } 8 }
9 </style> 9 </style>
10 <script> 10 <script>
11 if (window.internals) 11 if (window.eventSender)
12 window.internals.setPageScaleFactor(0.5, 0, 0); 12 window.eventSender.setPageScaleFactor(0.5, 0, 0);
13 </script> 13 </script>
14 </head> 14 </head>
15 <body> 15 <body>
16 On success, the blue reference box should be invisible (covered by the fixed b ox). 16 On success, the blue reference box should be invisible (covered by the fixed b ox).
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698