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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/borders/border-image-outset-in-shorthand.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: 75px; 6 width: 75px;
7 height: 75px; 7 height: 75px;
8 display: inline-block; 8 display: inline-block;
9 -webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 1 / 21px 30px 30px 21px stretch; 9 -webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 1 / 21px 30px 30px 21px stretch;
10 margin:30px; 10 margin:30px;
11 border-style: solid;
11 } 12 }
12 13
13 div.rr { 14 div.rr {
14 border-image-repeat: repeat; 15 border-image-repeat: repeat;
15 } 16 }
16 17
17 div.rs { 18 div.rs {
18 border-image-repeat: repeat stretch; 19 border-image-repeat: repeat stretch;
19 } 20 }
20 21
21 div.sr { 22 div.sr {
22 border-image-repeat:stretch repeat; 23 border-image-repeat:stretch repeat;
23 } 24 }
24 25
25 div.ss { 26 div.ss {
26 border-image-repeat: stretch; 27 border-image-repeat: stretch;
27 } 28 }
28 </style> 29 </style>
29 </head> 30 </head>
30 <body> 31 <body>
31 <div class="rr"></div> 32 <div class="rr"></div>
32 <div class="rs"></div> 33 <div class="rs"></div>
33 <br> 34 <br>
34 <div class="sr"></div> 35 <div class="sr"></div>
35 <div class="ss"></div> 36 <div class="ss"></div>
36 </body> 37 </body>
37 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698