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

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: 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;
13 border-color: white;
12 } 14 }
13 15
14 div.tl { 16 div.tl {
15 /* Normal case */ 17 /* Normal case */
16 border-image-slice: 21 30 30 21 fill; 18 border-image-slice: 21 30 30 21 fill;
17 } 19 }
18 20
19 div.tr { 21 div.tr {
20 /* Slice total larger than image size */ 22 /* Slice total larger than image size */
21 border-image-slice: 42 60 60 42 fill; 23 border-image-slice: 42 60 60 42 fill;
22 } 24 }
23 </style> 25 </style>
24 </head> 26 </head>
25 <body> 27 <body>
26 <div class="tl"></div> 28 <div class="tl"></div>
27 <div class="tr"></div> 29 <div class="tr"></div>
28 </body> 30 </body>
29 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698