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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/borders/border-image-slice-constrained.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 <style> 3 <style>
4 div { 4 div {
5 border-width: 21px 30px 30px 21px; 5 border-width: 21px 30px 30px 21px;
6 width: 120px; 6 width: 120px;
7 height: 120px; 7 height: 120px;
8 margin: 10px; 8 margin: 10px;
9 border-image-source: url("resources/border-image.png"); 9 border-image-source: url("resources/border-image.png");
10 border-image-repeat: repeat; 10 border-image-repeat: repeat;
11 display: inline-block; 11 display: inline-block;
12 border-style: solid;
12 } 13 }
13 14
14 div.tl { 15 div.tl {
15 /* Normal case */ 16 /* Normal case */
16 border-image-slice: 21 30 30 21 fill; 17 border-image-slice: 21 30 30 21 fill;
17 } 18 }
18 19
19 div.tr { 20 div.tr {
20 /* Slice total larger than image size */ 21 /* Slice total larger than image size */
21 border-image-slice: 42 60 60 42 fill; 22 border-image-slice: 42 60 60 42 fill;
22 } 23 }
23 </style> 24 </style>
24 </head> 25 </head>
25 <body> 26 <body>
26 <div class="tl"></div> 27 <div class="tl"></div>
27 <div class="tr"></div> 28 <div class="tr"></div>
28 </body> 29 </body>
29 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698