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 XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Backgrounds and Borders Test: background-size 'auto' with background-repeat 'repeat'</title>
<link href="http://www.intel.com" rel="author" title="Intel" />
<link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="reviewer" title="Gérard Talbot" /> <!-- 2012-11-14 -->
<link href="http://www.w3.org/TR/css3-background/#the-background-size" rel="help" title="3.9. Sizing Images: the 'background-size' property" />
<link href="reference/background-size-026-ref.xht" rel="match" />
<meta content="image" name="flags" />
<meta content="Check if 'background-size' is 'auto' and 'background-repeat' is 'repeat', that the background image is shown at its intrinsic size (98px wide by 99px tall in this test) and repeats in both horizontal and vertical to cover the background painting area (the same as background positioning area in this test)." name="assert" />
<style>
div {
background-color: red;
background-image: url(support/cat.png); /* 98px wide by 99px tall */
background-repeat: repeat; /* default */
background-size: auto; /* default */
height: 198px;
width: 196px;
/*
Background positioning area is 196px wide by 198px tall.
So, the image should be repeated twice in horizontal and vertical.
*/
}
</style>
</head>
<body>
<p>Test passes if there is 2 rows of 2 cats and if there is <strong>no partially</strong> displayed cat and <strong>no red</strong>.</p>
<div></div>
</body></html>