diff options
Diffstat (limited to 'tests/wpt/css-tests/css21_dev/xhtml1/reference')
17 files changed, 229 insertions, 93 deletions
diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/descendant-selector-000-ref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/descendant-selector-000-ref.xht new file mode 100644 index 00000000000..a8a8c939224 --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/descendant-selector-000-ref.xht @@ -0,0 +1,23 @@ +<!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> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/descendent-selector-002-ref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/descendent-selector-002-ref.xht new file mode 100644 index 00000000000..fc9f7aae37c --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/descendent-selector-002-ref.xht @@ -0,0 +1,16 @@ +<!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> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/descendent-selector-004-ref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/descendent-selector-004-ref.xht new file mode 100644 index 00000000000..7e2ac2b685e --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/descendent-selector-004-ref.xht @@ -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 http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<title>CSS Reftest Reference</title> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-000-notref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-000-notref.xht new file mode 100644 index 00000000000..c074843b269 --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-000-notref.xht @@ -0,0 +1,12 @@ +<!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> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-000-ref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-000-ref.xht new file mode 100644 index 00000000000..a70e7921d5e --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-000-ref.xht @@ -0,0 +1,18 @@ +<!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> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-002-notref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-002-notref.xht new file mode 100644 index 00000000000..d0d10881abf --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-002-notref.xht @@ -0,0 +1,12 @@ +<!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> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-002-ref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-002-ref.xht new file mode 100644 index 00000000000..8e3e092054f --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/grouping-002-ref.xht @@ -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> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/inline-block-alignment-007-ref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/inline-block-alignment-007-ref.xht deleted file mode 100644 index af276765500..00000000000 --- a/tests/wpt/css-tests/css21_dev/xhtml1/reference/inline-block-alignment-007-ref.xht +++ /dev/null @@ -1,42 +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> - <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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/inline-block-alignment-009-ref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/inline-block-alignment-009-ref.xht deleted file mode 100644 index 750090cd261..00000000000 --- a/tests/wpt/css-tests/css21_dev/xhtml1/reference/inline-block-alignment-009-ref.xht +++ /dev/null @@ -1,42 +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> - <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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/ref-green-background.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/ref-green-background.xht index 0129c4c596a..e6f8ab69b8d 100644 --- a/tests/wpt/css-tests/css21_dev/xhtml1/reference/ref-green-background.xht +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/ref-green-background.xht @@ -1,11 +1,16 @@ <!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> +<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com" /> +<style type="text/css"> +p { + color: white; + background: green; +} </style> -</head><body> - <div>This should be white on green.</div> - -</body></html>
\ No newline at end of file +</head> +<body> +<p>This should have a green background.</p> +</body> +</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/ref-white-on-green-background.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/ref-white-on-green-background.xht new file mode 100644 index 00000000000..0129c4c596a --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/ref-white-on-green-background.xht @@ -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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/type-selector-001-ref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/type-selector-001-ref.xht new file mode 100644 index 00000000000..2d29fb51980 --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/type-selector-001-ref.xht @@ -0,0 +1,17 @@ +<!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> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-001-notref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-001-notref.xht new file mode 100644 index 00000000000..caa7c70f8df --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-001-notref.xht @@ -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 http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<title>CSS Reftest Reference</title> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-001-ref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-001-ref.xht new file mode 100644 index 00000000000..10bbd5e37b9 --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-001-ref.xht @@ -0,0 +1,16 @@ +<!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> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-002-notref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-002-notref.xht new file mode 100644 index 00000000000..e9c143e7894 --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-002-notref.xht @@ -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 http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +<title>CSS Reftest Reference</title> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-002-ref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-002-ref.xht new file mode 100644 index 00000000000..d1bffa46680 --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-002-ref.xht @@ -0,0 +1,16 @@ +<!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> +<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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-005-ref.xht b/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-005-ref.xht new file mode 100644 index 00000000000..019cac20af7 --- /dev/null +++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/universal-selector-005-ref.xht @@ -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> +<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> </li> +</ul> +</body> +</html>
\ No newline at end of file |