Update CSS tests to revision 2a5740eaf7fa99181681a89bc6789dbf5b839995

This commit is contained in:
Ms2ger
2015-08-27 10:12:02 +02:00
parent 98728a6c75
commit 5fb39b2af9
120 changed files with 2388 additions and 7229 deletions

View File

@@ -22,7 +22,7 @@
<p>This sentence must be green.</p>
<p>This sentence must be green</p>
<p>This sentence must be green.</p>
</body>
</html>

View File

@@ -0,0 +1,20 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<style type="text/css">
li {
list-style-type: decimal;
list-style-image: none;
list-style-position: inside;
}
</style>
</head>
<body>
<p>Test passes if there is "1." and <strong>no red</strong>.</p>
<ul>
<li>&nbsp;</li>
</ul>
</body>
</html>

View File

@@ -0,0 +1,16 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<style type="text/css">
#div1 { height: 50px; width: 1cm; background: green; }
#div2 { height: 50px; width: 38px; background: green; }
</style>
</head>
<body>
<p>Test passes if there is <strong>no red</strong>.</p>
<div id="div1"></div>
<div id="div2"></div>
</body>
</html>

View File

@@ -0,0 +1,16 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<style type="text/css">
#div1 { height: 50px; width: 1mm; background: green; }
#div2 { height: 50px; width: 4px; background: green; }
</style>
</head>
<body>
<p>Test passes if there is <strong>no red</strong>.</p>
<div id="div1"></div>
<div id="div2"></div>
</body>
</html>

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<style type="text/css">
span { border-left: 5px solid blue; }
span span { margin-left: 50px; border-left: 5px solid orange; }
</style>
</head>
<body>
<p>Test passes if there is space between the blue and orange lines.</p>
<div><span><span></span></span>Filler Text</div>
</body>
</html>

View File

@@ -0,0 +1,16 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<style type="text/css">
body { margin-left: 50px; }
#div1 { display: list-item; height: 200px; width: 200px; }
div div { width: 50px; height: 200px; border-left: 10px solid blue; border-right: 10px solid orange; }
</style>
</head>
<body>
<p>Test passes if there is space between the blue and orange lines and there is a marker bullet on the left-hand side of the blue line.</p>
<div id="div1"><div></div></div>
</body>
</html>

View File

@@ -0,0 +1,20 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Jack Moffitt" href="http://metajack.im/">
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<style type="text/css">
div {
border: 5px solid blue;
height: 1in;
width: 1in;
background: black;
}
</style>
</head>
<body>
<p>Test passes if there is a filled black or transparent square surrounded by a blue border.</p>
<div></div>
</body>
</html>

View File

@@ -0,0 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Jack Moffitt" href="http://metajack.im/">
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<style type="text/css">
div {
border: 5px solid blue;
height: 1in;
width: 1in;
}
</style>
</head>
<body>
<p>Test passes if there is a filled black or transparent square surrounded by a blue border.</p>
<div></div>
</body>
</html>

View File

@@ -0,0 +1,17 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<style type="text/css">
p.test {
font-family: serif;
}
</style>
</head>
<body>
<p>The following paragraphs should be identical:</p>
<p class="test">This should be in a normal weight font.</p>
<p class="test">This should be in a normal weight font.</p>
</body>
</html>

View File

@@ -0,0 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com">
<style type="text/css">
p.test {
font-family: serif;
font-weight: bold;
}
</style>
</head>
<body>
<p>The following paragraphs should be identical:</p>
<p class="test">This should be in a bold font.</p>
<p class="test">This should be in a bold font.</p>
</body>
</html>