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

Side by Side Diff: LayoutTests/fast/repaint/background-scaling.html

Issue 267333008: Convert fast/repaint/background-scaling.html to a reftest (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix mac Created 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/background-scaling-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html style="background-color: green;"> 1 <!DOCTYPE html>
2 <head> 2 <html style="background-color: blue;">
3 <script src="resources/text-based-repaint.js" type="text/javascript" charset="ut f-8"></script> 3 <head>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 function repaintTest() 5 window.onload = function() {
6 { 6 if (window.eventSender)
7 if (window.eventSender) 7 window.eventSender.setPageScaleFactor(0.25, 0, 0);
8 window.eventSender.setPageScaleFactor(0.25, 0, 0); 8 }
9 }
10 </script> 9 </script>
11 </head> 10 </head>
12 <body style="margin:0;" onload="runRepaintTest();"> 11 <body style="margin:0; overflow: hidden; width: 4000px; height: 4000px">
13 <div style="background-color: green; width: 100%; height: 100px;"></div> 12 <div style="background-color: green; width: 100vw; height: 100px;"></div>
14 </body> 13 </body>
15 </html> 14 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/background-scaling-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698