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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/hidpi/image-set-border-image-comparison.html

Issue 1457323004: Don't render border images when border-style is none (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased, removed unnecessary border colors, etc. Created 5 years 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 div { 5 div {
6 box-sizing: border-box; 6 box-sizing: border-box;
7 width: 40px; 7 width: 40px;
8 height: 13px; 8 height: 13px;
9 border-style: solid;
9 } 10 }
10 11
11 .test1 { 12 .test1 {
12 border-image: -webkit-image-set(url('resources/Breakpoint.png') 1x, url('res ources/Breakpoint-2x.png') 2x) 3 7 3 3 fill / 3px 7px 3px 3px; 13 border-image: -webkit-image-set(url('resources/Breakpoint.png') 1x, url('res ources/Breakpoint-2x.png') 2x) 3 7 3 3 fill / 3px 7px 3px 3px;
13 } 14 }
14 15
15 .test2 { 16 .test2 {
16 border-image: -webkit-image-set(url('resources/Breakpoint.png') 1x, url('res ources/Breakpoint-2x.png') 2x) 3 7 3 3 fill; 17 border-image: -webkit-image-set(url('resources/Breakpoint.png') 1x, url('res ources/Breakpoint-2x.png') 2x) 3 7 3 3 fill;
17 border-width: 3px 7px 3px 3px; 18 border-width: 3px 7px 3px 3px;
18 } 19 }
(...skipping 17 matching lines...) Expand all
36 </head> 37 </head>
37 38
38 <body> 39 <body>
39 The first two tests should match the last two.<br><br> 40 The first two tests should match the last two.<br><br>
40 <div class="test1"></div><br> 41 <div class="test1"></div><br>
41 <div class="test2"></div><br> 42 <div class="test2"></div><br>
42 <div class="test3"></div><br> 43 <div class="test3"></div><br>
43 <div class="test4"></div><br> 44 <div class="test4"></div><br>
44 </body> 45 </body>
45 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698