servo/tests/wpt/css-tests/css-backgrounds-3_dev/html4/border-image-5.htm

47 lines
No EOL
1.1 KiB
HTML

<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>
CSS Border and Background: border-image #5 border-image-slice
</title>
<meta content="Negative values for the the border-image-slice property should not be supported" name="assert">
<link href="mailto:jeremie@patonnier.net" rel="author" title="Jérémie Patonnier">
<link href="http://www.w3.org/TR/css3-background/#border-image-slice" rel="help">
<link href="support/reftest-border-image-5.png" rel="match">
<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);
border-image-slice : -10;
}
</style>
</head>
<body>
<p>
Pass if the green square have smaller green squares at its corners and <strong>no</strong> red.
</p>
<div id="test">
<div id="filler"></div>
</div>
</body></html>