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

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: 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 <!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;
10 } 11 }
11 </style> 12 </style>
12 <body> 13 <body>
13 <!-- The resulting image should be 100x100, consisting of 4 50x50 blocks of solid color, with no blurring of edges --> 14 <!-- The resulting image should be 100x100, consisting of 4 50x50 blocks of solid color, with no blurring of edges -->
14 <div></div> 15 <div></div>
15 </body> 16 </body>
16 <script> 17 <script>
17 // Ignore the render tree. 18 // Ignore the render tree.
18 if (window.testRunner) 19 if (window.testRunner)
19 window.testRunner.dumpAsTextWithPixelResults(); 20 window.testRunner.dumpAsTextWithPixelResults();
20 </script> 21 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/LayoutTests/fast/borders/border-image-01.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698