servo/tests/wpt/css-tests/css-backgrounds-3_dev/xhtml1print/border-image-repeat-round.xht

22 lines
No EOL
1 KiB
HTML

<!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 Backgrounds and Borders Test: 'border-image-repeat' set as 'round'</title>
<link href="mailto:reni2046@gmail.com" rel="author" title="Ren Jing" />
<link href="http://www.w3.org/TR/css3-background/#border-images" rel="help" />
<link href="reference/border-image-repeat-round-ref.xht" rel="match" />
<meta content="diamonds in corners should be red, and other diamonds should be orange, it should be 4 orange diamonds on each side." name="assert" />
<style type="text/css">
.container {
border: double red 1em;
border-image: url("support/border.png") 27 round;
height:64px;
width:64px;
}
</style>
</head>
<body>
<p>The test passes if diamonds in corners are red, and other diamonds are orange, there are 4 orange diamonds on each side.</p>
<div class="container"></div>
</body></html>