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

Side by Side Diff: LayoutTests/fast/repaint/background-scaling.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 <html style="background-color: green;"> 1 <html style="background-color: green;">
2 <head> 2 <head>
3 <script src="resources/repaint.js" type="text/javascript" charset="utf-8"></scri pt> 3 <script src="resources/repaint.js" type="text/javascript" charset="utf-8"></scri pt>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 function repaintTest() 5 function repaintTest()
6 { 6 {
7 if (window.internals) 7 if (window.eventSender)
8 window.internals.setPageScaleFactor(0.25, 0, 0); 8 window.eventSender.setPageScaleFactor(0.25, 0, 0);
9 } 9 }
10 </script> 10 </script>
11 </head> 11 </head>
12 <body style="margin:0;" onload="runRepaintTest();"> 12 <body style="margin:0;" onload="runRepaintTest();">
13 <div style="background-color: green; width: 100%; height: 100px;"></div> 13 <div style="background-color: green; width: 100%; height: 100px;"></div>
14 </body> 14 </body>
15 </html> 15 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/frames/iframe-double-scale-contents.html ('k') | LayoutTests/fast/repaint/fixed-in-page-scale.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698