blob: 332fbf1ba6b90537e9488c4beca4b2f42658b907 [file] [log] [blame]
<html>
<head>
<style>
div {
width: 150px;
height: 150px;
margin: 10px;
display: inline-block;
border-style: solid;
}
div.rr {
-webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 42px 60px 60px 42px repeat repeat;
}
div.rs {
-webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 42px 60px 60px 42px repeat stretch;
}
div.sr {
-webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 42px 60px 60px 42px stretch repeat;
}
div.ss {
-webkit-border-image: url("resources/border-image.png") 21 30 30 21 / 42px 60px 60px 42px stretch stretch;
}
</style>
</head>
<body>
<p>The purpose of this test case is to illustrate the legacy behavior of -webkit-border-image. The specified border widths
actually end up becoming the real border widths. The border-image property in the specification doesn't do this.
</p>
<div class="rr"></div>
<div class="rs"></div><br>
<div class="sr"></div>
<div class="ss"></div>
</body>
</html>