Files
servo/tests/wpt/css-tests/css21_dev/html4/c534-bgreps-003.htm

29 lines
1.4 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: background-repeat</title>
<meta name="flags" content="ahem image">
<link rel="help" href="http://www.w3.org/TR/REC-CSS1#background-repeat">
<link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
<link rel="match" href="reference/c534-bgreps-000-ref.htm">
<style type="text/css">
.test { font: 20px/1 Ahem; width: 11em; background: red; color: green; border: solid green; }
.one {background-image: url(support/pattern-grg-rgr-grg.png); background-position: center top;}
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" title="14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'">
</head>
<body>
<p>Test passes if there is a filled green rectangle.</p>
<div class="test">
<div class="one">
&nbsp;&nbsp;r&nbsp;&nbsp;r&nbsp;&nbsp;r&nbsp;&nbsp;
rr&nbsp;rr&nbsp;rr&nbsp;rr
&nbsp;&nbsp;r&nbsp;&nbsp;r&nbsp;&nbsp;r&nbsp;&nbsp;
&nbsp;&nbsp;r&nbsp;&nbsp;r&nbsp;&nbsp;r&nbsp;&nbsp;
rr&nbsp;rr&nbsp;rr&nbsp;rr
</div>
</div>
</body>
</html>