Files
servo/tests/wpt/css-tests/css21_dev/xhtml1print/background-106.xht

35 lines
1.8 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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Test: Background with (color position repeat image)</title>
<style type="text/css">
@page { font: italic 8pt sans-serif; color: gray;
margin: 7%;
counter-increment: page;
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
@top-right { content: "Test background-106"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-03-24 -->
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background" />
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
<link rel="match" href="reference/background-090-ref.xht" />
<meta name="flags" content="image" />
<meta name="assert" content="Background with (color position repeat image) sets the background to the color specified, with the image overlaid across the x-axis at the bottom. The center assignment from background-position does not matter since the image is tiled across the x-axis." />
<style type="text/css">
div
{
background: green bottom repeat-x url("support/blue15x15.png");
height: 200px;
width: 200px;
}
</style>
</head>
<body>
<p>Test passes if there is a green rectangle on top of a blue stripe.</p>
<div></div>
</body>
</html>