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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/images/pixelated-border-image.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: Edits to more tests. 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 div { 3 div {
4 width: 20px; 4 width: 20px;
5 height: 20px; 5 height: 20px;
6 border: 30px; 6 border: 30px;
7 border-image-source: url(resources/border-image.png); 7 border-image-source: url(resources/border-image.png);
8 border-image-slice: 6; 8 border-image-slice: 6;
9 image-rendering: pixelated; 9 image-rendering: pixelated;
10 border-style: solid;
11 border-color: white;
10 } 12 }
11 </style> 13 </style>
12 <body> 14 <body>
13 <!-- The resulting image should be 100x100, consisting of 4 50x50 blocks of solid color, with no blurring of edges --> 15 <!-- The resulting image should be 100x100, consisting of 4 50x50 blocks of solid color, with no blurring of edges -->
14 <div></div> 16 <div></div>
15 </body> 17 </body>
16 <script> 18 <script>
17 // Ignore the render tree. 19 // Ignore the render tree.
18 if (window.testRunner) 20 if (window.testRunner)
19 window.testRunner.dumpAsTextWithPixelResults(); 21 window.testRunner.dumpAsTextWithPixelResults();
20 </script> 22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698