servo/tests/wpt/css-tests/css-backgrounds-3_dev/xhtml1/background-repeat-round-002.xht

25 lines
No EOL
884 B
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"><!-- Submitted from TestTWF Paris --><head>
<title>CSS Backgrounds and Borders Test: background-repeat: round basic support</title>
<link href="http://lea.verou.me" rel="author" title="Lea Verou" />
<link href="http://www.w3.org/TR/css3-background/#the-background-repeat" rel="help" />
<meta content="image" name="flags" />
<meta content="The image is repeated as often as will fit within the background positioning area. If it doesn't fit a whole number of times, it is rescaled so that it does." name="assert" />
<style>
html {
background: red url('support/swatch-green.png') no-repeat;
background-repeat: round;
}
</style>
</head>
<body>
<p>Test passes if there is green and <strong>no red</strong>.</p>
</body></html>