38 lines
1.1 KiB
HTML
38 lines
1.1 KiB
HTML
<html>
|
|
<head>
|
|
<style>
|
|
div {
|
|
width: 150px;
|
|
height: 150px;
|
|
margin: 10px;
|
|
display: inline-block;
|
|
}
|
|
|
|
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>
|