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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/borders/border-image-scaled.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 body { overflow: hidden; } 4 body { overflow: hidden; }
5 div { 5 div {
6 width: 150px; 6 width: 150px;
7 height: 150px; 7 height: 150px;
8 margin: 10px; 8 margin: 10px;
9 display: inline-block; 9 display: inline-block;
10 border-style: solid;
10 } 11 }
11 12
12 div.rr { 13 div.rr {
13 -webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 42px 60px 60px 42px repeat repeat; 14 -webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 42px 60px 60px 42px repeat repeat;
14 } 15 }
15 16
16 div.rs { 17 div.rs {
17 -webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 42px 60px 60px 42px repeat stretch; 18 -webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 42px 60px 60px 42px repeat stretch;
18 } 19 }
19 20
(...skipping 10 matching lines...) Expand all
30 <p>The purpose of this test case is to illustrate the legacy behavior of -webkit -border-image. The specified border widths 31 <p>The purpose of this test case is to illustrate the legacy behavior of -webkit -border-image. The specified border widths
31 actually end up becoming the real border widths. The border-image property in th e specification doesn't do this. 32 actually end up becoming the real border widths. The border-image property in th e specification doesn't do this.
32 </p> 33 </p>
33 <div class="rr"></div> 34 <div class="rr"></div>
34 <div class="rs"></div> 35 <div class="rs"></div>
35 <br> 36 <br>
36 <div class="sr"></div> 37 <div class="sr"></div>
37 <div class="ss"></div> 38 <div class="ss"></div>
38 </body> 39 </body>
39 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698