Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab

This commit is contained in:
James Graham
2015-03-27 09:18:12 +00:00
parent 1a81b18b9f
commit 2c9faf5363
91915 changed files with 5979820 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Background with (position color image attachment)</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<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">
<meta name="flags" content="image interact">
<meta name="assert" content="Background with (position color image attachment) sets the background to the image and the image scrolls with the element. The image is centered across the bottom and then tile out from there.">
<style type="text/css">
#div1
{
height: 200px;
width: 200px;
overflow: scroll;
}
div div
{
background: bottom green url("support/cat.png") scroll;
width: 400px;
height: 400px;
}
</style>
</head>
<body>
<p>Test passes if the box below is filled with cat images that move when the box is scrolled. Also, after scrolling to the bottom of the box, there is a cat image that is not cut off, and it is centered at the bottom of the box (there can be additional cat images).</p>
<div id="div1">
<div></div>
</div>
</body>
</html>