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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/hidpi/image-set-background-repeat-without-size.html

Issue 1908463002: Modernize fast/hidpi layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add NeedsManualRebaseline Created 4 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
OLDNEW
1 <html> 1 <!DOCTYPE html>
2 <head>
3 <script src="resources/srcset-helper.js"></script> 2 <script src="resources/srcset-helper.js"></script>
4 <style> 3 <style>
5 #foo { 4 #foo {
6 width:90px; 5 width:90px;
7 height:90px; 6 height:90px;
8 background-image: -webkit-image-set(url('resources/deleteButton.png') 1x , url('resources/deleteButton-2x.png') 2x); 7 background-image: -webkit-image-set(url('resources/deleteButton.png') 1x , url('resources/deleteButton-2x.png') 2x);
9 background-repeat: repeat; 8 background-repeat: repeat;
10 } 9 }
11 </style> 10 </style>
12 </head> 11 <div>This test passes if the div below contains 9 evenly spaced delete buttons, and if the high resolution resource is used when the deviceScaleFactor is 2.</di v>
13 12 <div id=foo></div>
14 <body id="body">
15 <div>This test passes if the div below contains 9 evenly spaced delete butto ns, and if the high resolution resource is used when the deviceScaleFactor is 2. </div>
16 <div id=foo></div>
17 </body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698