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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/hidpi/image-set-as-background-with-zoom.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 <style> 2 <style>
4 #foo { 3 #foo {
5 width:100px; 4 width:100px;
6 height:100px; 5 height:100px;
7 background-image: -webkit-image-set(url('resources/blue-100-px-square.pn g') 1x, url('resources/green-400-px-square.png') 2x); 6 background-image: -webkit-image-set(url('resources/blue-100-px-square.pn g') 1x, url('resources/green-400-px-square.png') 2x);
8 } 7 }
9 </style> 8 </style>
10 <script> 9 <script>
11 if (window.eventSender) 10 if (window.eventSender)
12 window.eventSender.zoomPageIn(); 11 window.eventSender.zoomPageIn();
13 </script> 12 </script>
14 </head> 13 <div>This test passes if the div below is a green square.</div>
15 14 <div id=foo></div>
16 <body>
17 <div>This test passes if the div below is a green square. </div>
18 <div id=foo></div>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698