Update CSS tests to revision 939546644b4d333218fd9c2c0f68c60752ff1e95

This commit is contained in:
Ms2ger
2015-09-25 11:45:40 +02:00
parent b26fac3f78
commit 0ad6e78b23
435 changed files with 7534 additions and 3290 deletions

View File

@@ -0,0 +1,32 @@
<!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 Reftest Reference</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 descendant-selector-000-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
<style type="text/css">
.orange {
border: thin solid orange;
}
.blue {
border: thin solid blue;
}
.fuchsia {
border: thin solid fuchsia;
}
</style>
</head>
<body>
<p class="orange">This paragraph should have a thin orange border.</p>
<div><p class="blue">This paragraph should have a thin blue border.</p></div>
<h4><span class="fuchsia">This text should have a thin fuchsia border.</span></h4>
</body>
</html>

View File

@@ -0,0 +1,25 @@
<!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 Reftest Reference</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 descendent-selector-002-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
<style type="text/css">
div {
color: green;
}
</style>
</head>
<body>
<p>Test passes if the "Filler Text" below is green.</p>
<div><em>Filler Text</em></div>
</body>
</html>

View File

@@ -0,0 +1,20 @@
<!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 Reftest Reference</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 descendent-selector-004-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
</head>
<body>
<p>Test passes if there is no red visible on the page.</p>
<div><em>Filler Text</em></div>
</body>
</html>

View File

@@ -0,0 +1,21 @@
<!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 Reftest Reference</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 grouping-000-notref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
</head>
<body>
<p>This text should be green.</p>
<div>This text should be green.</div>
<h4>This text should be green.</h4>
</body>
</html>

View File

@@ -0,0 +1,27 @@
<!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 Reftest Reference</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 grouping-000-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
<style type="text/css">
body {
color: green;
font-weight: bold;
}
</style>
</head>
<body>
<p>This text should be green.</p>
<div>This text should be green.</div>
<h4>This text should be green.</h4>
</body>
</html>

View File

@@ -0,0 +1,21 @@
<!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 Reftest Reference</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 grouping-002-notref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
</head>
<body>
<p>Test passes if the "Filler Text" below is green.</p>
<blockquote>Filler Text</blockquote>
<div>Filler Text</div>
</body>
</html>

View File

@@ -0,0 +1,29 @@
<!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 Reftest Reference</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 grouping-002-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
<style type="text/css">
blockquote {
color: green;
}
div {
color: green;
}
</style>
</head>
<body>
<p>Test passes if the "Filler Text" below is green.</p>
<blockquote>Filler Text</blockquote>
<div>Filler Text</div>
</body>
</html>

View File

@@ -1,51 +0,0 @@
<!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 Reftest Reference</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 inline-block-alignment-007-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
<link rel="reviewer" title="Gerard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-07-21 -->
<meta name="flags" content="image" />
<style type="text/css"><![CDATA[
img
{
vertical-align: top;
}
img
{
padding-left: 228px; /* 60 px (padding-left) + 120px (first line-block width) + 48px (the position difference of box) */
}
img + br + img
{
padding-left: 60px; /* 60 px (padding-left) */
}
img + br + img + br + img
{
padding-left: 252px; /* 60 px (padding-left) + 120px (first line-block width) + 72px (the position difference of box) */
}
]]></style>
</head>
<body>
<p>Test passes if the <strong>right edge</strong> of an irregular polygon is straight and unbroken.</p>
<div>
<img src="support/swatch-aqua.png" width="48" height="60" alt="Image download support must be enabled" /><br /><!--
--><img src="support/swatch-aqua.png" width="216" height="120" alt="Image download support must be enabled" /><br /><!--
--><img src="support/swatch-aqua.png" width="24" height="30" alt="Image download support must be enabled" />
</div>
</body>
</html>

View File

@@ -1,51 +0,0 @@
<!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 Reftest Reference</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 inline-block-alignment-009-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
<link rel="reviewer" title="Gerard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-07-21 -->
<meta name="flags" content="image" />
<style type="text/css"><![CDATA[
img
{
vertical-align: top;
}
img
{
padding-left: 192px; /* 60 px (padding-left) + 120px (width of inline-block) + 12px (the position difference of box) */
}
img + br + img
{
padding-left: 60px; /* 60 px (padding-left) */
}
img + br + img + br + img
{
padding-left: 198px; /* 60 px (padding-left) + 120px (width of inline-block)+ 18px (the position difference of box) */
}
]]></style>
</head>
<body>
<p>Test passes if the <strong>right edge</strong> of an irregular polygon is straight and unbroken.</p>
<div>
<img src="support/swatch-olive.png" width="12" height="60" alt="Image download support must be enabled" /><br /><!--
--><img src="support/swatch-olive.png" width="144" height="120" alt="Image download support must be enabled" /><br /><!--
--><img src="support/swatch-olive.png" width="6" height="30" alt="Image download support must be enabled" />
</div>
</body>
</html>

View File

@@ -1,11 +1,25 @@
<!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 charset="utf-8" />
<title>CSS Reference</title>
<link href="http://www.intel.com" rel="author" title="Intel" />
<style>
div { background-color: green; color: white; }
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Reftest Reference</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 ref-green-background"; }
@bottom-right { content: counter(page); }
}
</style>
</head><body>
<div>This should be white on green.</div>
</body></html>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
<style type="text/css">
p {
color: white;
background: green;
}
</style>
</head>
<body>
<p>This should have a green background.</p>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!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 charset="utf-8" />
<title>CSS Reference</title>
<link href="http://www.intel.com" rel="author" title="Intel" />
<style>
div { background-color: green; color: white; }
</style>
</head><body>
<div>This should be white on green.</div>
</body></html>

View File

@@ -0,0 +1,26 @@
<!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 Reftest Reference</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 type-selector-001-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
<style type="text/css">
.green {
color: green;
}
</style>
</head>
<body>
<p>Test passes if the "Filler Text" below is green.</p>
<blockquote class="green">Filler Text</blockquote>
<div class="green">Filler Text</div>
</body>
</html>

View File

@@ -0,0 +1,20 @@
<!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 Reftest Reference</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 universal-selector-001-notref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
</head>
<body>
<p>Test passes if all text on this page is green.</p>
<div>Filler Text</div>
</body>
</html>

View File

@@ -0,0 +1,25 @@
<!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 Reftest Reference</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 universal-selector-001-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
<style type="text/css">
body {
color: green;
}
</style>
</head>
<body>
<p>Test passes if all text on this page is green.</p>
<div>Filler Text</div>
</body>
</html>

View File

@@ -0,0 +1,20 @@
<!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 Reftest Reference</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 universal-selector-002-notref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
</head>
<body>
<div>Filler Text</div>
<p>Test passes if the "Filler Text" above is green.</p>
</body>
</html>

View File

@@ -0,0 +1,25 @@
<!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 Reftest Reference</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 universal-selector-002-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
<style type="text/css">
body {
color: green;
}
</style>
</head>
<body>
<div>Filler Text</div>
<p>Test passes if the "Filler Text" above is green.</p>
</body>
</html>

View File

@@ -0,0 +1,30 @@
<!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 Reftest Reference</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 universal-selector-005-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" />
<style type="text/css">
body {
margin-left: 100px;
}
li {
list-style-image: url("support/cat.png");
}
</style>
</head>
<body>
<p>Test passes if there is a <strong>cat image</strong>.</p>
<ul>
<li>&nbsp;</li>
</ul>
</body>
</html>