servo/tests/wpt/web-platform-tests/css/css-backgrounds/border-image-6.html

46 lines
1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
CSS Border and Background: border-image #6 border-image-slice
</title>
<meta name="assert" content="The border-image-slice property default value is 100%" />
<link rel="author" title="Jérémie Patonnier" href="mailto:jeremie@patonnier.net" / >
<link rel="help" href="http://www.w3.org/TR/css3-background/#border-image-slice">
<link rel="match" href="support/reftest-border-image-5.png" />
<style type="text/css">
#filler {
background-color : #009900;
width : 40px;
height: 40px;
}
#test {
border : 10px solid red;
width : 40px;
height : 40px;
border-image-source: url(support/img-ref-1.png);
}
</style>
</head>
<body>
<p>
Pass if the green square have smaller green squares at its corners and <strong>no</strong> red borders.
</p>
<div id="test">
<div id="filler"></div>
</div>
</body>
</html>