blob: b65430cfc1ac85b7644220c08124118f83b98f57 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Omitted values for 'border-image-width' properties in 'border-image' shorthand</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-image-shorthand" />
<meta name="flags" content="image" />
<meta name="assert" content="This test checks that the omitted 'border-image-width' value in shorthand property is set to the initial value." />
<style type="text/css">
#test
{
border: 20px double red;
border-image: url("../support/9grid40-30-20-10-lime.png") 40% 15% 20% 5% / / 2 stretch;
height: 5px;
margin: 100px;
width: 5px;
}
#reference
{
border: 20px double red;
border-image-outset: 2;
border-image-repeat: stretch;
border-image-slice: 40% 15% 20% 5%;
border-image-source: url("../support/9grid40-30-20-10-lime.png");
border-image-width: 1;
height: 5px;
margin: 100px;
width: 5px;
}
</style>
</head>
<body>
<p>Test passes if there are two identical images visible on the page.</p>
<div id="test"></div>
<div id="reference"></div>
</body>
</html>