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

Side by Side Diff: LayoutTests/fast/hidpi/image-set-background-repeat.html

Issue 764703002: Support unit-less lengths for white-list of properties only. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: min-width/height still accepts unitless lengths Created 5 years, 11 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 <html>
2 <head> 2 <head>
3 <script src="resources/srcset-helper.js"></script> 3 <script src="resources/srcset-helper.js"></script>
4 <style> 4 <style>
5 #foo { 5 #foo {
6 width:90px; 6 width:90px;
7 height:90px; 7 height:90px;
8 background-image: -webkit-image-set(url('resources/deleteButton.png') 1x , url('resources/deleteButton-2x.png') 2x); 8 background-image: -webkit-image-set(url('resources/deleteButton.png') 1x , url('resources/deleteButton-2x.png') 2x);
9 background-repeat: repeat; 9 background-repeat: repeat;
10 background-size: 30 30; 10 background-size: 30px 30px;
11 } 11 }
12 </style> 12 </style>
13 </head> 13 </head>
14 14
15 <body id="body"> 15 <body id="body">
16 <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>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>
17 <div id=foo></div> 17 <div id=foo></div>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698