mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 09:52:50 -10:00
48 lines
1.1 KiB
HTML
48 lines
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 name="assert" content="Negative values for the the border-image-slice property should not be supported" />
|
|
|
|
<link rel="author" title="Jérémie Patonnier" href="mailto:[email protected]" / >
|
|
|
|
<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);
|
|
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>
|