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

22 lines
No EOL
916 B
HTML

<!DOCTYPE html>
<html><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.htm" 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>