diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/CSS2/colors | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
314 files changed, 7803 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/colors/bidi-color-001.xht b/testing/web-platform/tests/css/CSS2/colors/bidi-color-001.xht new file mode 100644 index 0000000000..3159f30ea7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/bidi-color-001.xht @@ -0,0 +1,23 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>CSS Test: Applying color to elements split by bidi</title> + <link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#bidi-box-model"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors"/> + <meta name="assert" content="Color should be applied only to the part of the text it has been specified for, even after bidi has rearranged the words to be non-consecutive"/> + <style type="text/css"><![CDATA[ + span { + color: blue; + } + ]]></style> + </head> + + <body> + <p> + Words 2 and 4 from left should be <span>blue</span>: + </p> + <p>abc <span>def ليص</span> افت</p> + + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-001-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-001-ref.xht new file mode 100644 index 0000000000..acd2384afd --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-001-ref.xht @@ -0,0 +1,37 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-bottom: 10px;} + + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/1x1-green.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/1x1-green.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-001.xht b/testing/web-platform/tests/css/CSS2/colors/color-001.xht new file mode 100644 index 0000000000..cbbb323c4b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-001.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to hex with 5 digits which is invalid and is equivalent to minimum minus one value for 6 digit hex</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-10 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-001-ref.xht" /> + + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to '#00000' falls back to the initial value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + div + { + color: green; + height: 100px; + width: 100px; + } + #test + { + color: #00000; + font: 100px/1 Ahem; + } + #reference + { + background-color: green; + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-002-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-002-ref.xht new file mode 100644 index 0000000000..b469a4cb8d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-002-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/000_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/000_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-002.xht b/testing/web-platform/tests/css/CSS2/colors/color-002.xht new file mode 100644 index 0000000000..3bca3b6987 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-002.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with the minimum value, #000000</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#000000' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #000000; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-003-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-003-ref.xht new file mode 100644 index 0000000000..ecc99ecb07 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-003-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/010101_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/010101_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-003.xht b/testing/web-platform/tests/css/CSS2/colors/color-003.xht new file mode 100644 index 0000000000..de955098e8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-003.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with the minimum plus one value, #010101</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-003-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#010101' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #010101; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #010101; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-004-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-004-ref.xht new file mode 100644 index 0000000000..f0ae15aefb --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-004-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/999_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/999_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-004.xht b/testing/web-platform/tests/css/CSS2/colors/color-004.xht new file mode 100644 index 0000000000..4026d9ee65 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-004.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a nominal value #999999</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-004-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#999999' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #999999; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #999999; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-005-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-005-ref.xht new file mode 100644 index 0000000000..6ace4bbbbd --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-005-ref.xht @@ -0,0 +1,41 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + body {background-color: black;} + + p {color: white;} + + div {margin-top: 10px;} + + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/fefefe_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/fefefe_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-005.xht b/testing/web-platform/tests/css/CSS2/colors/color-005.xht new file mode 100644 index 0000000000..49f2d60d50 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-005.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to hex with six digits with the maximum minus one value of #fefefe</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-005-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#fefefe' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background: black; + color: white; + } + #test + { + color: #fefefe; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #fefefe; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-006-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-006-ref.xht new file mode 100644 index 0000000000..5041fb87d3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-006-ref.xht @@ -0,0 +1,41 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + body {background-color: black;} + + p {color: white;} + + div {margin-top: 10px;} + + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/fff_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/fff_color.png" /> + </div> + + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-006.xht b/testing/web-platform/tests/css/CSS2/colors/color-006.xht new file mode 100644 index 0000000000..9fdd3e9b83 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-006.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to hex with six digits with the maximum value of #ffffff</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-006-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#ffffff' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + #test + { + color: #ffffff; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ffffff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-007.xht b/testing/web-platform/tests/css/CSS2/colors/color-007.xht new file mode 100644 index 0000000000..c7b745537e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-007.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with the maximum plus one value of #1000000</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to '#1000000' falls back to the initial value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #1000000; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-008.xht b/testing/web-platform/tests/css/CSS2/colors/color-008.xht new file mode 100644 index 0000000000..519dbd7f1f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-008.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with the maximum plus one value of #fgfgfg</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to '#fgfgfg' falls back to the initial value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #fgfgfg; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-009-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-009-ref.xht new file mode 100644 index 0000000000..e818c26885 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-009-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/010000_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/010000_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-009.xht b/testing/web-platform/tests/css/CSS2/colors/color-009.xht new file mode 100644 index 0000000000..0d82fccc08 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-009.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a red set to minimum plus one value, #010000</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-009-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#010000' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #010000; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #010000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-010-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-010-ref.xht new file mode 100644 index 0000000000..8dbab72574 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-010-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/900_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/900_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-010.xht b/testing/web-platform/tests/css/CSS2/colors/color-010.xht new file mode 100644 index 0000000000..51241a507c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-010.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a red set to a nominal value, #990000</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-010-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#990000' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #990000; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #990000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-011-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-011-ref.xht new file mode 100644 index 0000000000..9f4b87fd5e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-011-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/fe0000_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/fe0000_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-011.xht b/testing/web-platform/tests/css/CSS2/colors/color-011.xht new file mode 100644 index 0000000000..2950e06613 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-011.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a red set to maximum minus one value, #fe0000</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-011-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#fe0000' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #fe0000; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #fe0000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-012-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-012-ref.xht new file mode 100644 index 0000000000..59025f39b7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-012-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/f00_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/f00_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-012.xht b/testing/web-platform/tests/css/CSS2/colors/color-012.xht new file mode 100644 index 0000000000..54e33725d9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-012.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a red set to the maximum value, #ff0000</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-012-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#ff0000' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #ff0000; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ff0000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-013.xht b/testing/web-platform/tests/css/CSS2/colors/color-013.xht new file mode 100644 index 0000000000..61b0a0edac --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-013.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a red set to the maximum plus one value, #fg0000</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to '#fg0000' falls back to the initial value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #fg0000; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-014-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-014-ref.xht new file mode 100644 index 0000000000..cdfa33419c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-014-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/000100_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/000100_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-014.xht b/testing/web-platform/tests/css/CSS2/colors/color-014.xht new file mode 100644 index 0000000000..3de6f57473 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-014.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a green set to minimum plus one value, #000100</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-014-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#000100' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #000100; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000100; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-015-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-015-ref.xht new file mode 100644 index 0000000000..150cb97303 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-015-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/090_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/090_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-015.xht b/testing/web-platform/tests/css/CSS2/colors/color-015.xht new file mode 100644 index 0000000000..f5cba09b5c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-015.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a green set to a nominal value, #009900</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-015-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#009900' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #009900; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #009900; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-016-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-016-ref.xht new file mode 100644 index 0000000000..60460bd998 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-016-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/00fe00_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/00fe00_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-016.xht b/testing/web-platform/tests/css/CSS2/colors/color-016.xht new file mode 100644 index 0000000000..643a98af83 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-016.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a green set to maximum minus one value, #00fe00</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-016-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#00fe00' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #00fe00; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #00fe00; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-017-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-017-ref.xht new file mode 100644 index 0000000000..3c84188199 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-017-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/0f0_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/0f0_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-017.xht b/testing/web-platform/tests/css/CSS2/colors/color-017.xht new file mode 100644 index 0000000000..1faddb628d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-017.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a green set to the maximum value, #00ff00</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-017-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#00ff00' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #00ff00; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #00ff00; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-018.xht b/testing/web-platform/tests/css/CSS2/colors/color-018.xht new file mode 100644 index 0000000000..ecffe0f5d4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-018.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a green set to the maximum plus one value, #00fg00</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to '#00fg00' falls back to the initial value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #00fg00; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-019-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-019-ref.xht new file mode 100644 index 0000000000..79ac025807 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-019-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/000001_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/000001_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-019.xht b/testing/web-platform/tests/css/CSS2/colors/color-019.xht new file mode 100644 index 0000000000..2bf43bd69c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-019.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a blue set to minimum plus one value, #000001</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-019-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#000001' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #000001; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000001; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-020-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-020-ref.xht new file mode 100644 index 0000000000..290b880fe8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-020-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/009_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/009_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-020.xht b/testing/web-platform/tests/css/CSS2/colors/color-020.xht new file mode 100644 index 0000000000..7a33fccf87 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-020.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a blue set to a nominal value, #000099</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-020-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #000099; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000099; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-021-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-021-ref.xht new file mode 100644 index 0000000000..2c7402ed17 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-021-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/0000fe_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/0000fe_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-021.xht b/testing/web-platform/tests/css/CSS2/colors/color-021.xht new file mode 100644 index 0000000000..0ce481e0f9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-021.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a blue set to maximum minus one value, #0000fe</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-021-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#0000fe' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #0000fe; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #0000fe; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-022-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-022-ref.xht new file mode 100644 index 0000000000..307427e5b7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-022-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/00f_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/00f_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-022.xht b/testing/web-platform/tests/css/CSS2/colors/color-022.xht new file mode 100644 index 0000000000..44807afcac --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-022.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a blue set to the maximum value, #0000ff</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-022-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#0000ff' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #0000ff; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #0000ff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-023.xht b/testing/web-platform/tests/css/CSS2/colors/color-023.xht new file mode 100644 index 0000000000..33220ab80d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-023.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with six digits with a blue set to the maximum plus one value, #0000fg</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to '#0000fg' falls back to the initial value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #0000fg; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-024.xht b/testing/web-platform/tests/css/CSS2/colors/color-024.xht new file mode 100644 index 0000000000..0e29e3ea53 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-024.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with 2 digits which is invalid and is equivalent to minimum minus one value for 3 digit hex</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to '#00' falls back to the initial value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #00; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-025.xht b/testing/web-platform/tests/css/CSS2/colors/color-025.xht new file mode 100644 index 0000000000..9795770761 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-025.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with the minimum possible value #000</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#000' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #000; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-026-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-026-ref.xht new file mode 100644 index 0000000000..0b2d2856df --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-026-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/111_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/111_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-026.xht b/testing/web-platform/tests/css/CSS2/colors/color-026.xht new file mode 100644 index 0000000000..03b18efc87 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-026.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with the minimum plus one value, #111</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-026-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#111' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #111; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #111; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-027-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-027-ref.xht new file mode 100644 index 0000000000..f0ae15aefb --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-027-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/999_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/999_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-027.xht b/testing/web-platform/tests/css/CSS2/colors/color-027.xht new file mode 100644 index 0000000000..bec008afcb --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-027.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a nominal value #999</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-027-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#999' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #999; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #999; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-028-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-028-ref.xht new file mode 100644 index 0000000000..59a7fa02b7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-028-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/eee_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/eee_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-028.xht b/testing/web-platform/tests/css/CSS2/colors/color-028.xht new file mode 100644 index 0000000000..ae5e8fda5e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-028.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with the maximum minus one value of #eee</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-028-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#eee' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #eee; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #eee; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-029.xht b/testing/web-platform/tests/css/CSS2/colors/color-029.xht new file mode 100644 index 0000000000..1e996d38e6 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-029.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to hex with three digits with the maximum value of #fff</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-006-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#fff' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + #test + { + color: #fff; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #fff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-031.xht b/testing/web-platform/tests/css/CSS2/colors/color-031.xht new file mode 100644 index 0000000000..9b2e3f0161 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-031.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to hex with three digits with the maximum plus one value of #ggg</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to '#ggg' falls back to the initial value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #ggg; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-032-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-032-ref.xht new file mode 100644 index 0000000000..366b222e9b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-032-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/100_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/100_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-032.xht b/testing/web-platform/tests/css/CSS2/colors/color-032.xht new file mode 100644 index 0000000000..6c10a66f1b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-032.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a red set to minimum plus one value, #100</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-032-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#100' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #100; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #100; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-033-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-033-ref.xht new file mode 100644 index 0000000000..8dbab72574 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-033-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/900_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/900_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-033.xht b/testing/web-platform/tests/css/CSS2/colors/color-033.xht new file mode 100644 index 0000000000..eb4fb2eb0f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-033.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a red set to a nominal value, #900</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-033-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#900' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #900; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #900; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-034-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-034-ref.xht new file mode 100644 index 0000000000..9f135dc745 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-034-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/e00_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/e00_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-034.xht b/testing/web-platform/tests/css/CSS2/colors/color-034.xht new file mode 100644 index 0000000000..24535253c4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-034.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a red set to maximum minus one value, #e00</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-034-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#e00' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #e00; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #e00; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-035.xht b/testing/web-platform/tests/css/CSS2/colors/color-035.xht new file mode 100644 index 0000000000..a8a55d0d41 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-035.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a red set to the maximum value, #f00</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-012-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#f00' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #f00; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ff0000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-036.xht b/testing/web-platform/tests/css/CSS2/colors/color-036.xht new file mode 100644 index 0000000000..3b70d6d453 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-036.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a red set to the maximum plus one value, #g00</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to '#g00' falls back to the initial value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #g00; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-037-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-037-ref.xht new file mode 100644 index 0000000000..75cf4a2f34 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-037-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/010_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/010_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-037.xht b/testing/web-platform/tests/css/CSS2/colors/color-037.xht new file mode 100644 index 0000000000..6c55c51b5f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-037.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a green set to minimum plus one value, #010</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-037-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#010' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #010; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #010; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-038.xht b/testing/web-platform/tests/css/CSS2/colors/color-038.xht new file mode 100644 index 0000000000..f945274b9c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-038.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a green set to a nominal value, #090</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-015-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#090' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #090; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #090; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-039-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-039-ref.xht new file mode 100644 index 0000000000..6d08ab5895 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-039-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/0e0_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/0e0_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-039.xht b/testing/web-platform/tests/css/CSS2/colors/color-039.xht new file mode 100644 index 0000000000..0d57bedd70 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-039.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a green set to maximum minus one value, #0e0</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-039-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#0e0' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #0e0; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #0e0; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-040.xht b/testing/web-platform/tests/css/CSS2/colors/color-040.xht new file mode 100644 index 0000000000..75382609b7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-040.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a green set to the maximum value, #0f0</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-017-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#0f0' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #0f0; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #0f0; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-041.xht b/testing/web-platform/tests/css/CSS2/colors/color-041.xht new file mode 100644 index 0000000000..5f8b438257 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-041.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a green set to the maximum plus one value, #0g0</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to '#0g0' falls back to the initial value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #0g0; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-042-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-042-ref.xht new file mode 100644 index 0000000000..916cd6647c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-042-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/001_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/001_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-042.xht b/testing/web-platform/tests/css/CSS2/colors/color-042.xht new file mode 100644 index 0000000000..108311f383 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-042.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a blue set to minimum plus one value, #001</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-042-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#001' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #001; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #001; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-043.xht b/testing/web-platform/tests/css/CSS2/colors/color-043.xht new file mode 100644 index 0000000000..aa4c250004 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-043.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a blue set to a nominal value, #009</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-020-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#009' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #009; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #009; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-044-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-044-ref.xht new file mode 100644 index 0000000000..1435c39446 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-044-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/00e_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/00e_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-044.xht b/testing/web-platform/tests/css/CSS2/colors/color-044.xht new file mode 100644 index 0000000000..5579b1ee13 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-044.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a blue set to maximum minus one value, #00e</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-044-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#00e' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #00e; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #00e; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-045.xht b/testing/web-platform/tests/css/CSS2/colors/color-045.xht new file mode 100644 index 0000000000..be7091e498 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-045.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a blue set to the maximum value, #00f</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-022-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to '#00f' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #00f; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #00f; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-046.xht b/testing/web-platform/tests/css/CSS2/colors/color-046.xht new file mode 100644 index 0000000000..9732adc739 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-046.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to hex with three digits with a blue set to the maximum plus one value, #00g</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to '#00g' falls back to the initial value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: #00g; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-047.xht b/testing/web-platform/tests/css/CSS2/colors/color-047.xht new file mode 100644 index 0000000000..db607cd726 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-047.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with the minimum minus one value, rgb(-1%, -1%, -1%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(-1%, -1%, -1%)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(-1%, -1%, -1%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-048.xht b/testing/web-platform/tests/css/CSS2/colors/color-048.xht new file mode 100644 index 0000000000..1f63db1b02 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-048.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with the minimum value, rgb(0%, 0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 0%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 0%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-049-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-049-ref.xht new file mode 100644 index 0000000000..f6fbe6b75c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-049-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> + <title>CSS Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + background-color: rgb(1%, 1%, 1%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-049.xht b/testing/web-platform/tests/css/CSS2/colors/color-049.xht new file mode 100644 index 0000000000..85f5500c05 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-049.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to rgb() using percentages with the minimum plus one value, rgb(1%, 1%, 1%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-049-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(1%, 1%, 1%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(1%, 1%, 1%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(1%, 1%, 1%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-050.xht b/testing/web-platform/tests/css/CSS2/colors/color-050.xht new file mode 100644 index 0000000000..ef04321c4c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-050.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with the minimum value and minus sign, rgb(-0%, -0%, -0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(-0%, -0%, -0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(-0%, -0%, -0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-051.xht b/testing/web-platform/tests/css/CSS2/colors/color-051.xht new file mode 100644 index 0000000000..0d7033fcc8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-051.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with the minimum value and plus sign, rgb(+0%, +0%, +0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+0%, +0%, +0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(+0%, +0%, +0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-052-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-052-ref.xht new file mode 100644 index 0000000000..336b50856b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-052-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> + <title>CSS Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + background-color: rgb(50%, 50%, 50%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-052.xht b/testing/web-platform/tests/css/CSS2/colors/color-052.xht new file mode 100644 index 0000000000..de534c3496 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-052.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to rgb() using percentages with a nominal value, rgb(50%, 50%, 50%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-052-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(50%, 50%, 50%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(50%, 50%, 50%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(50%, 50%, 50%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-053.xht b/testing/web-platform/tests/css/CSS2/colors/color-053.xht new file mode 100644 index 0000000000..d56a8c69b1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-053.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to rgb() using percentages with a nominal value and a plus sign, rgb(+50%, +50%, +50%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-052-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+50%, +50%, +50%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(+50%, +50%, +50%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(50%, 50%, 50%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-054-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-054-ref.xht new file mode 100644 index 0000000000..129435262e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-054-ref.xht @@ -0,0 +1,28 @@ +<!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 Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + div + { + height: 100px; + width: 100px; + background-color: rgb(99%, 99%, 99%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-054.xht b/testing/web-platform/tests/css/CSS2/colors/color-054.xht new file mode 100644 index 0000000000..1f02452e23 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-054.xht @@ -0,0 +1,39 @@ +<!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 Test: Color set to rgb() using percentages with a maximum minus one value, rgb(99%, 99%, 99%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-054-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(99%, 99%, 99%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + #test + { + color: rgb(99%, 99%, 99%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(99%, 99%, 99%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-055.xht b/testing/web-platform/tests/css/CSS2/colors/color-055.xht new file mode 100644 index 0000000000..f3385e0b65 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-055.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to rgb() using percentages with a maximum value, rgb(100%, 100%, 100%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-006-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(100%, 100%, 100%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + #test + { + color: rgb(100%, 100%, 100%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ffffff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-056.xht b/testing/web-platform/tests/css/CSS2/colors/color-056.xht new file mode 100644 index 0000000000..3d1d8079b1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-056.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to rgb() using percentages with plus sign on each maximum value, rgb(+100%, +100%, +100%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-006-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+100%, +100%, +100%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + #test + { + color: rgb(+100%, +100%, +100%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ffffff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-057.xht b/testing/web-platform/tests/css/CSS2/colors/color-057.xht new file mode 100644 index 0000000000..d336939912 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-057.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to rgb() using percentages with a maximum plus one value, rgb(101%, 101%, 101%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-006-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(101%, 101%, 101%)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + #test + { + color: rgb(101%, 101%, 101%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ffffff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-058.xht b/testing/web-platform/tests/css/CSS2/colors/color-058.xht new file mode 100644 index 0000000000..891d93f156 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-058.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with the minimum minus one value, rgb(-1, -1, -1)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(-1, -1, -1)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(-1, -1, -1); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-059.xht b/testing/web-platform/tests/css/CSS2/colors/color-059.xht new file mode 100644 index 0000000000..4e360860b4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-059.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with the minimum value, rgb(0, 0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 0, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-060.xht b/testing/web-platform/tests/css/CSS2/colors/color-060.xht new file mode 100644 index 0000000000..d63b315976 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-060.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with the minimum plus one value, rgb(1, 1, 1)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-003-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(1, 1, 1)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(1, 1, 1); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #010101; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-061.xht b/testing/web-platform/tests/css/CSS2/colors/color-061.xht new file mode 100644 index 0000000000..9a8b1dd519 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-061.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with the minimum value and minus sign, rgb(-0, -0, -0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(-0, -0, -0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(-0, -0, -0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-062.xht b/testing/web-platform/tests/css/CSS2/colors/color-062.xht new file mode 100644 index 0000000000..53445905e1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-062.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with the minimum value and plus sign, rgb(+0, +0, +0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+0, +0, +0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(+0, +0, +0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-063-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-063-ref.xht new file mode 100644 index 0000000000..43cbdd9099 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-063-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/808080_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/808080_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-063.xht b/testing/web-platform/tests/css/CSS2/colors/color-063.xht new file mode 100644 index 0000000000..ce6d66b75e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-063.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with a nominal value, rgb(128, 128, 128)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-063-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(128, 128, 128)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(128, 128, 128); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(128, 128, 128); + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-064.xht b/testing/web-platform/tests/css/CSS2/colors/color-064.xht new file mode 100644 index 0000000000..8c144b9198 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-064.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with a nominal value and a plus sign, rgb(+128, +128, +128)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-063-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+128, +128, +128)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(+128, +128, +128); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(128, 128, 128); + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-065.xht b/testing/web-platform/tests/css/CSS2/colors/color-065.xht new file mode 100644 index 0000000000..366ceaef99 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-065.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to rgb() using integers with a maximum minus one value, rgb(254, 254, 254)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-005-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(254, 254, 254)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + #test + { + color: rgb(254, 254, 254); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #fefefe; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-066.xht b/testing/web-platform/tests/css/CSS2/colors/color-066.xht new file mode 100644 index 0000000000..d0ff349859 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-066.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to rgb() using integers with a maximum value, rgb(255, 255, 255)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-006-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(255, 255, 255)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + #test + { + color: rgb(255, 255, 255); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ffffff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-067.xht b/testing/web-platform/tests/css/CSS2/colors/color-067.xht new file mode 100644 index 0000000000..26e211a912 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-067.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to rgb() using integers with a maximum value and a plus sign, rgb(+255, +255, +255)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-006-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+255, +255, +255)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + #test + { + color: rgb(+255, +255, +255); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ffffff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-068.xht b/testing/web-platform/tests/css/CSS2/colors/color-068.xht new file mode 100644 index 0000000000..db83bf1e80 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-068.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to rgb() using integers with a maximum plus one value, rgb(256, 256, 256)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-006-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(256, 256, 256)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + #test + { + color: rgb(256, 256, 256); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ffffff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-069.xht b/testing/web-platform/tests/css/CSS2/colors/color-069.xht new file mode 100644 index 0000000000..9fa1f4a6a4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-069.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with red set to the minimum minus one value, rgb(-1%, 0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(-1%, 0%, 0%)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(-1%, 0%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-070-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-070-ref.xht new file mode 100644 index 0000000000..7f93e3ad88 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-070-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> + <title>CSS Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + background-color: rgb(1%, 0%, 0%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-070.xht b/testing/web-platform/tests/css/CSS2/colors/color-070.xht new file mode 100644 index 0000000000..fc77dc33dd --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-070.xht @@ -0,0 +1,37 @@ +<!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 Test: Color set to rgb() using percentages with red set to the minimum plus one value, rgb(1%, 0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-070-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(1%, 0%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + } + #test + { + color: rgb(1%, 0%, 0%); + font: 100px/1 Ahem; + } + #reference + { + background-color: rgb(1%, 0%, 0%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-071.xht b/testing/web-platform/tests/css/CSS2/colors/color-071.xht new file mode 100644 index 0000000000..73d0e3d455 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-071.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with red set to the minimum value and minus sign, rgb(-0%, 0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(-0%, 0%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(-0%, 0%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-072.xht b/testing/web-platform/tests/css/CSS2/colors/color-072.xht new file mode 100644 index 0000000000..cb15f2bebb --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-072.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with red set to the minimum value and plus sign, rgb(+0%, 0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+0%, 0%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(+0%, 0%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-073-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-073-ref.xht new file mode 100644 index 0000000000..10485f719b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-073-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> + <title>CSS Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + background-color: rgb(50%, 0%, 0%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-073.xht b/testing/web-platform/tests/css/CSS2/colors/color-073.xht new file mode 100644 index 0000000000..e424b405e6 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-073.xht @@ -0,0 +1,37 @@ +<!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 Test: Color set to rgb() using percentages with red set to a nominal value, rgb(50%, 0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-073-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(50%, 0%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + } + #test + { + color: rgb(50%, 0%, 0%); + font: 100px/1 Ahem; + } + #reference + { + background-color: rgb(50%, 0%, 0%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-074.xht b/testing/web-platform/tests/css/CSS2/colors/color-074.xht new file mode 100644 index 0000000000..ab4f02a6e1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-074.xht @@ -0,0 +1,37 @@ +<!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 Test: Color set to rgb() using percentages with red set to a nominal value with a plus sign, rgb(+50%, 0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-073-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+50%, 0%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + } + #test + { + color: rgb(+50%, 0%, 0%); + font: 100px/1 Ahem; + } + #reference + { + background-color: rgb(50%, 0%, 0%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-075-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-075-ref.xht new file mode 100644 index 0000000000..cc2c24969a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-075-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> + <title>CSS Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + background-color: rgb(99%, 0%, 0%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-075.xht b/testing/web-platform/tests/css/CSS2/colors/color-075.xht new file mode 100644 index 0000000000..325ab22dbe --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-075.xht @@ -0,0 +1,37 @@ +<!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 Test: Color set to rgb() using percentages with red set to a maximum minus one value, rgb(99%, 0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-075-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(99%, 0%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + } + #test + { + color: rgb(99%, 0%, 0%); + font: 100px/1 Ahem; + } + #reference + { + background-color: rgb(99%, 0%, 0%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-076.xht b/testing/web-platform/tests/css/CSS2/colors/color-076.xht new file mode 100644 index 0000000000..a7d7bc7bf0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-076.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with red set to a maximum value, rgb(100%, 0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-012-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(100%, 0%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(100%, 0%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ff0000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-077.xht b/testing/web-platform/tests/css/CSS2/colors/color-077.xht new file mode 100644 index 0000000000..d7d0820282 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-077.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with red set to a maximum value with a plus sign, rgb(+100%, 0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-012-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+100%, 0%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(+100%, 0%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ff0000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-078.xht b/testing/web-platform/tests/css/CSS2/colors/color-078.xht new file mode 100644 index 0000000000..37d93a04f6 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-078.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with red set to a maximum plus one value, rgb(101%, 0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-012-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(101%, 0%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(101%, 0%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ff0000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-079.xht b/testing/web-platform/tests/css/CSS2/colors/color-079.xht new file mode 100644 index 0000000000..b3db446c85 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-079.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with red set to the minimum minus one value, rgb(-1, 0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(-1, 0, 0)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(-1, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-080.xht b/testing/web-platform/tests/css/CSS2/colors/color-080.xht new file mode 100644 index 0000000000..31aa42ef4e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-080.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with red set to the minimum plus one value, rgb(1, 0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-009-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(1, 0, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(1, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #010000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-081.xht b/testing/web-platform/tests/css/CSS2/colors/color-081.xht new file mode 100644 index 0000000000..f69dd2bd6b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-081.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with red set to the minimum value with a minus sign, rgb(-0, 0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(-0, 0, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(-0, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-082.xht b/testing/web-platform/tests/css/CSS2/colors/color-082.xht new file mode 100644 index 0000000000..3401e0a7d1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-082.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with red set to the minimum value with a plus sign, rgb(+0, 0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+0, 0, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(+0, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-083-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-083-ref.xht new file mode 100644 index 0000000000..5417ef07e8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-083-ref.xht @@ -0,0 +1,37 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/800000_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/800000_color.png" /> + </div> + + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-083.xht b/testing/web-platform/tests/css/CSS2/colors/color-083.xht new file mode 100644 index 0000000000..91b3bbb199 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-083.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with red set to a nominal value, rgb(128, 0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-083-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(128, 0, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(128, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(128, 0, 0); + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-084.xht b/testing/web-platform/tests/css/CSS2/colors/color-084.xht new file mode 100644 index 0000000000..8b7fed81e3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-084.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with red set to a nominal value with a plus sign, rgb(+128, 0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-083-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+128, 0, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(+128, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(128, 0, 0); + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-085.xht b/testing/web-platform/tests/css/CSS2/colors/color-085.xht new file mode 100644 index 0000000000..fd6e6dc64c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-085.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with red set to a maximum minus one value, rgb(254, 0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-011-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(254, 0, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(254, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #fe0000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-086.xht b/testing/web-platform/tests/css/CSS2/colors/color-086.xht new file mode 100644 index 0000000000..44d510c18b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-086.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with red set to a maximum value, rgb(255, 0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-012-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(255, 0, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(255, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ff0000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-087.xht b/testing/web-platform/tests/css/CSS2/colors/color-087.xht new file mode 100644 index 0000000000..77043a40c5 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-087.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with red set to a maximum value with a plus sign, rgb(+255, 0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-012-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(+255, 0, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(+255, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ff0000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-088.xht b/testing/web-platform/tests/css/CSS2/colors/color-088.xht new file mode 100644 index 0000000000..29aa25a2d1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-088.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with red set to a maximum plus one value, rgb(256, 0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-012-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(256, 0, 0)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(256, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #ff0000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-089.xht b/testing/web-platform/tests/css/CSS2/colors/color-089.xht new file mode 100644 index 0000000000..09b5aa3903 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-089.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with green set to the minimum minus one value, rgb(0%, -1%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, -1%, 0%)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, -1%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-090-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-090-ref.xht new file mode 100644 index 0000000000..017bcb95e8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-090-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> + <title>CSS Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + background-color: rgb(0%, 1%, 0%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-090.xht b/testing/web-platform/tests/css/CSS2/colors/color-090.xht new file mode 100644 index 0000000000..0a28f0a37a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-090.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to rgb() using percentages with green set to the minimum plus one value, rgb(0%, 1%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-090-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 1%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 1%, 0%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0%, 1%, 0%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-091.xht b/testing/web-platform/tests/css/CSS2/colors/color-091.xht new file mode 100644 index 0000000000..5305543d2a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-091.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with green set to the minimum value and minus sign, rgb(0%, -0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, -0%, 0%)' renders the correct foreground color of an element's text content. ." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, -0%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-092.xht b/testing/web-platform/tests/css/CSS2/colors/color-092.xht new file mode 100644 index 0000000000..4864039f72 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-092.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to rgb() using percentages with green set to the minimum value and plus sign, rgb(0%, +0%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, +0%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, +0%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-093-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-093-ref.xht new file mode 100644 index 0000000000..aae9251147 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-093-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> + <title>CSS Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + background-color: rgb(0%, 50%, 0%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-093.xht b/testing/web-platform/tests/css/CSS2/colors/color-093.xht new file mode 100644 index 0000000000..c79c1faac3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-093.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to rgb() using percentages with green set to a nominal value, rgb(0%, 50%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-093-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 50%, 0%) renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 50%, 0%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0%, 50%, 0%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-094.xht b/testing/web-platform/tests/css/CSS2/colors/color-094.xht new file mode 100644 index 0000000000..09ff6583f4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-094.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to rgb() using percentages with green set to a nominal value with a plus sign, rgb(0%, +50%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-093-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, +50%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, +50%, 0%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0%, 50%, 0%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-095-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-095-ref.xht new file mode 100644 index 0000000000..62e3f7b7f1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-095-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> + <title>CSS Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + background-color: rgb(0%, 99%, 0%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-095.xht b/testing/web-platform/tests/css/CSS2/colors/color-095.xht new file mode 100644 index 0000000000..e133b672af --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-095.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to rgb() using percentages with green set to a maximum minus one value, rgb(0%, 99%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-095-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 99%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 99%, 0%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0%, 99%, 0%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-096.xht b/testing/web-platform/tests/css/CSS2/colors/color-096.xht new file mode 100644 index 0000000000..ceb224d62c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-096.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with green set to a maximum value, rgb(0%, 100%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-017-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 100%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 100%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #00ff00; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-097.xht b/testing/web-platform/tests/css/CSS2/colors/color-097.xht new file mode 100644 index 0000000000..b0e245ddc3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-097.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with green set to a maximum value with a plus sign, rgb(0%, +100%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-017-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, +100%, 0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, +100%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #00ff00; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-098.xht b/testing/web-platform/tests/css/CSS2/colors/color-098.xht new file mode 100644 index 0000000000..4ebe556439 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-098.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with green set to a maximum plus one value, rgb(0%, 101%, 0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-017-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 101%, 0%)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 101%, 0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #00ff00; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-099.xht b/testing/web-platform/tests/css/CSS2/colors/color-099.xht new file mode 100644 index 0000000000..3bcce2f1ed --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-099.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with green set to the minimum minus one value, rgb(0, -1, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(-1, 0, 0)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(-1, 0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-100.xht b/testing/web-platform/tests/css/CSS2/colors/color-100.xht new file mode 100644 index 0000000000..d6bfba8aa1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-100.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to rgb() using integers with green set to the minimum plus one value, rgb(0, 1, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-014-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 1, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + + #test + { + color: rgb(0, 1, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000100; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-101.xht b/testing/web-platform/tests/css/CSS2/colors/color-101.xht new file mode 100644 index 0000000000..306f2b84e5 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-101.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with green set to the minimum value with a minus sign, rgb(0, -0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, -0, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, -0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-102.xht b/testing/web-platform/tests/css/CSS2/colors/color-102.xht new file mode 100644 index 0000000000..508431035b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-102.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with green set to the minimum value with a plus sign, rgb(0, +0, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, +0, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, +0, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-103-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-103-ref.xht new file mode 100644 index 0000000000..934fcd6da6 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-103-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/008000_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/008000_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-103.xht b/testing/web-platform/tests/css/CSS2/colors/color-103.xht new file mode 100644 index 0000000000..15281e045a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-103.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with green set to a nominal value, rgb(0, 128, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-103-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 128, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 128, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0, 128, 0); + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-104.xht b/testing/web-platform/tests/css/CSS2/colors/color-104.xht new file mode 100644 index 0000000000..6079f5b44e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-104.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with green set to a nominal value with a plus sign, rgb(0, +128, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-103-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, +128, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, +128, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0, 128, 0); + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-105.xht b/testing/web-platform/tests/css/CSS2/colors/color-105.xht new file mode 100644 index 0000000000..076e67b78d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-105.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with green set to a maximum minus one value, rgb(0, 254, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-016-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 254, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 254, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #00fe00; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-106.xht b/testing/web-platform/tests/css/CSS2/colors/color-106.xht new file mode 100644 index 0000000000..f53813104d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-106.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with green set to a maximum value, rgb(0, 255, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-017-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 255, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 255, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #00ff00; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-107.xht b/testing/web-platform/tests/css/CSS2/colors/color-107.xht new file mode 100644 index 0000000000..3ba4d20b9a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-107.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with green set to a maximum value with a plus sign, rgb(0, +255, 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-017-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, +255, 0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, +255, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #00ff00; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-108.xht b/testing/web-platform/tests/css/CSS2/colors/color-108.xht new file mode 100644 index 0000000000..a89e3ee562 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-108.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with green set to a maximum plus one value, rgb(0, 256 0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-017-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 256, 0)' properly truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 256, 0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #00ff00; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-109.xht b/testing/web-platform/tests/css/CSS2/colors/color-109.xht new file mode 100644 index 0000000000..d0ffb7df9b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-109.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with blue set to the minimum minus one value, rgb(0%, 0%, -1%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 0%, -1%)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 0%, -1%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-110-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-110-ref.xht new file mode 100644 index 0000000000..a382d1c2fb --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-110-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> + <title>CSS Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + background-color: rgb(0%, 0%, 1%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-110.xht b/testing/web-platform/tests/css/CSS2/colors/color-110.xht new file mode 100644 index 0000000000..c9be48fcc3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-110.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to rgb() using percentages with blue set to the minimum plus one value, rgb(0%, 0%, 1%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-110-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 0%, 1%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 0%, 1%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0%, 0%, 1%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-111.xht b/testing/web-platform/tests/css/CSS2/colors/color-111.xht new file mode 100644 index 0000000000..73090dea16 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-111.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with blue set to the minimum value and minus sign, rgb(0%, 0%, -0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 0%, -0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 0%, -0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-112.xht b/testing/web-platform/tests/css/CSS2/colors/color-112.xht new file mode 100644 index 0000000000..c00cb43771 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-112.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with blue set to the minimum value and plus sign, rgb(0%, 0%, +0%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 0%, +0%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 0%, +0%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-113-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-113-ref.xht new file mode 100644 index 0000000000..2f53e51875 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-113-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> + <title>CSS Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + background-color: rgb(0%, 0%, 50%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-113.xht b/testing/web-platform/tests/css/CSS2/colors/color-113.xht new file mode 100644 index 0000000000..46315c97ae --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-113.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with blue set to a nominal value, rgb(0%, 0%, 50%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-113-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 0%, 50%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 0%, 50%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0%, 0%, 50%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-114.xht b/testing/web-platform/tests/css/CSS2/colors/color-114.xht new file mode 100644 index 0000000000..f1160978b7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-114.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with blue set to a nominal value with a plus sign, rgb(0%, 0%, +50%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-113-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 0%, +50%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 0%, +50%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0%, 0%, 50%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-115-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-115-ref.xht new file mode 100644 index 0000000000..d574618ac5 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-115-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> + <title>CSS Reftest Reference</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + background-color: rgb(0%, 0%, 99%); + margin-top: 10px; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div></div> + <div></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-115.xht b/testing/web-platform/tests/css/CSS2/colors/color-115.xht new file mode 100644 index 0000000000..bd30598487 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-115.xht @@ -0,0 +1,34 @@ +<!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 Test: Color set to rgb() using percentages with blue set to a maximum minus one value, rgb(0%, 0%, 99%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com" /> <!-- converted to reftest 01-07-2013 --> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-115-ref.xht"/> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 0%, 99%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 0%, 99%); + font: 100px/1 Ahem; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0%, 0%, 99%); + margin-top: 10px; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-116.xht b/testing/web-platform/tests/css/CSS2/colors/color-116.xht new file mode 100644 index 0000000000..5aa956c0d6 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-116.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with blue set to a maximum value, rgb(0%, 0%, 100%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-022-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 0%, 100%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 0%, 100%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #0000ff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-117.xht b/testing/web-platform/tests/css/CSS2/colors/color-117.xht new file mode 100644 index 0000000000..fdff7c6edc --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-117.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with blue set to a maximum value with a plus sign, rgb(0%, 0%, +100%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-022-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 0%, +100%)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 0%, +100%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #0000ff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-118.xht b/testing/web-platform/tests/css/CSS2/colors/color-118.xht new file mode 100644 index 0000000000..e52ff64967 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-118.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using percentages with blue set to a maximum plus one value, rgb(0%, 0%, 101%)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-022-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(0%, 0%, 101%)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0%, 0%, 101%); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #0000ff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-119.xht b/testing/web-platform/tests/css/CSS2/colors/color-119.xht new file mode 100644 index 0000000000..e30e50be37 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-119.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with blue set to the minimum minus one value, rgb(0, 0, -1)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 0, -1)' truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 0, -1); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-120.xht b/testing/web-platform/tests/css/CSS2/colors/color-120.xht new file mode 100644 index 0000000000..601b866f96 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-120.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with blue set to the minimum plus one value, rgb(0, 0, 1)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-019-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 0, 1)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 0, 1); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000001; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-121.xht b/testing/web-platform/tests/css/CSS2/colors/color-121.xht new file mode 100644 index 0000000000..1b7cc721a1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-121.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with blue set to the minimum value with a minus sign, rgb(0, 0, -0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 0, -0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 0, -0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-122.xht b/testing/web-platform/tests/css/CSS2/colors/color-122.xht new file mode 100644 index 0000000000..36b9ab5376 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-122.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with blue set to the minimum value with a plus sign, rgb(0, 0, +0)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-002-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 0, +0)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 0, +0); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #000000; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-123-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-123-ref.xht new file mode 100644 index 0000000000..68617d2c43 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-123-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/000080_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/000080_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-123.xht b/testing/web-platform/tests/css/CSS2/colors/color-123.xht new file mode 100644 index 0000000000..b90e61fd40 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-123.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with blue set to a nominal value, rgb(0, 0, 128)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-123-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 0, 128)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 0, 128); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0, 0, 128); + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-124.xht b/testing/web-platform/tests/css/CSS2/colors/color-124.xht new file mode 100644 index 0000000000..59c84bd8a8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-124.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with blue set to a nominal value with a plus sign, rgb(0, 0, +128)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-123-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 0, +128)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 0, +128); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0, 0, 128); + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-125.xht b/testing/web-platform/tests/css/CSS2/colors/color-125.xht new file mode 100644 index 0000000000..13fa480d97 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-125.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with blue set to a maximum minus one value, rgb(0, 0, 254)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-021-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 0, 254)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 0, 254); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: rgb(0, 0, 254); + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-126.xht b/testing/web-platform/tests/css/CSS2/colors/color-126.xht new file mode 100644 index 0000000000..7699694de8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-126.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with blue set to a maximum value, rgb(0, 0, 255)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-022-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 0, 255)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 0, 255); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #0000ff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-127.xht b/testing/web-platform/tests/css/CSS2/colors/color-127.xht new file mode 100644 index 0000000000..ad17330271 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-127.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with blue set to a maximum value with a plus sign, rgb(0, 0, +255)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-022-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 0, +255)' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 0, +255); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #0000ff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-128.xht b/testing/web-platform/tests/css/CSS2/colors/color-128.xht new file mode 100644 index 0000000000..74bd11b4aa --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-128.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to rgb() using integers with blue set to a maximum plus one value, rgb(0, 0, 256)</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-022-ref.xht" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="The 'color' set to 'rgb(0, 0, 256)' properly truncates to a valid value and renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: rgb(0, 0, 256); + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: #0000ff; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-129-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-129-ref.xht new file mode 100644 index 0000000000..bf2a612ed0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-129-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/aqua_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/aqua_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-129.xht b/testing/web-platform/tests/css/CSS2/colors/color-129.xht new file mode 100644 index 0000000000..cb0e6e0d3f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-129.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to aqua</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-129-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'aqua' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: aqua; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: aqua; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-130-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-130-ref.xht new file mode 100644 index 0000000000..b469a4cb8d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-130-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/000_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/000_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-130.xht b/testing/web-platform/tests/css/CSS2/colors/color-130.xht new file mode 100644 index 0000000000..9eb2cbb344 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-130.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to black</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-130-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'black' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: black; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: black; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-131-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-131-ref.xht new file mode 100644 index 0000000000..2dad381d88 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-131-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/swatch-blue.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/swatch-blue.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-131.xht b/testing/web-platform/tests/css/CSS2/colors/color-131.xht new file mode 100644 index 0000000000..010a0ddc1c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-131.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to blue</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-131-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'blue' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: blue; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: blue; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-132-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-132-ref.xht new file mode 100644 index 0000000000..9d6a313268 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-132-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/fuchsia_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/fuchsia_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-132.xht b/testing/web-platform/tests/css/CSS2/colors/color-132.xht new file mode 100644 index 0000000000..c3fa91422f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-132.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to fuchsia</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-132-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'fuchsia' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: fuchsia; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: fuchsia; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-133-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-133-ref.xht new file mode 100644 index 0000000000..43cbdd9099 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-133-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/808080_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/808080_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-133.xht b/testing/web-platform/tests/css/CSS2/colors/color-133.xht new file mode 100644 index 0000000000..7df4870759 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-133.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to gray</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-133-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'gray' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: gray; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: gray; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-134-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-134-ref.xht new file mode 100644 index 0000000000..10db5fbb5f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-134-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/swatch-green.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/swatch-green.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-134.xht b/testing/web-platform/tests/css/CSS2/colors/color-134.xht new file mode 100644 index 0000000000..6366437e61 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-134.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to green</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-134-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'green' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: green; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: green; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-135-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-135-ref.xht new file mode 100644 index 0000000000..aa547b0a54 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-135-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/swatch-lime.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/swatch-lime.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-135.xht b/testing/web-platform/tests/css/CSS2/colors/color-135.xht new file mode 100644 index 0000000000..1ae5b5f62a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-135.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to lime</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-135-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'lime' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: lime; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: lime; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-136-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-136-ref.xht new file mode 100644 index 0000000000..c3382a769a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-136-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/maroon_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/maroon_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-136.xht b/testing/web-platform/tests/css/CSS2/colors/color-136.xht new file mode 100644 index 0000000000..aadbc51389 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-136.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to maroon</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-136-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'maroon' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: maroon; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: maroon; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-137-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-137-ref.xht new file mode 100644 index 0000000000..68617d2c43 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-137-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/000080_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/000080_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-137.xht b/testing/web-platform/tests/css/CSS2/colors/color-137.xht new file mode 100644 index 0000000000..729e7faece --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-137.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to navy</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-137-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'navy' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: navy; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: navy; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-138-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-138-ref.xht new file mode 100644 index 0000000000..832375425c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-138-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/olive_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/olive_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-138.xht b/testing/web-platform/tests/css/CSS2/colors/color-138.xht new file mode 100644 index 0000000000..ad0ba8f164 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-138.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to olive</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-138-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'olive' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: olive; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: olive; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-139-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-139-ref.xht new file mode 100644 index 0000000000..280a5fc35b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-139-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/swatch-orange.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/swatch-orange.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-139.xht b/testing/web-platform/tests/css/CSS2/colors/color-139.xht new file mode 100644 index 0000000000..9a5f2f1544 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-139.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to orange</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-139-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'orange' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: orange; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: orange; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-140-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-140-ref.xht new file mode 100644 index 0000000000..056f8e4dcf --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-140-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/purple_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/purple_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-140.xht b/testing/web-platform/tests/css/CSS2/colors/color-140.xht new file mode 100644 index 0000000000..7a3d95c0f6 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-140.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to purple</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-140-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'purple' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: purple; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: purple; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-141-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-141-ref.xht new file mode 100644 index 0000000000..59025f39b7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-141-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/f00_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/f00_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-141.xht b/testing/web-platform/tests/css/CSS2/colors/color-141.xht new file mode 100644 index 0000000000..e4f5d4d8cc --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-141.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to red</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-141-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'red' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: red; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: red; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-142-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-142-ref.xht new file mode 100644 index 0000000000..3f7ffb2f2b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-142-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/silver_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/silver_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-142.xht b/testing/web-platform/tests/css/CSS2/colors/color-142.xht new file mode 100644 index 0000000000..dbab988bce --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-142.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to silver</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-142-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'silver' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: silver; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: silver; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-143-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-143-ref.xht new file mode 100644 index 0000000000..70c54ff1a9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-143-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/teal_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/teal_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-143.xht b/testing/web-platform/tests/css/CSS2/colors/color-143.xht new file mode 100644 index 0000000000..0d80203ccb --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-143.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to teal</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-143-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'teal' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: teal; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: teal; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-144-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-144-ref.xht new file mode 100644 index 0000000000..5041fb87d3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-144-ref.xht @@ -0,0 +1,41 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + body {background-color: black;} + + p {color: white;} + + div {margin-top: 10px;} + + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/fff_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/fff_color.png" /> + </div> + + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-144.xht b/testing/web-platform/tests/css/CSS2/colors/color-144.xht new file mode 100644 index 0000000000..35c22c12c1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-144.xht @@ -0,0 +1,38 @@ +<!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 Test: Color set to white</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-144-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'white' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + body + { + background-color: black; + color: white; + } + #test + { + color: white; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: white; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-145-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-145-ref.xht new file mode 100644 index 0000000000..1d05b5f071 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-145-ref.xht @@ -0,0 +1,36 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {margin-top: 10px;} + img + { + height: 100px; + vertical-align: top; + width: 100px; + } + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + + <div> + <img alt="Image download support must be enabled" src="support/yellow_color.png" /> + </div> + + <div> + <img alt="Image download support must be enabled" src="support/yellow_color.png" /> + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-145.xht b/testing/web-platform/tests/css/CSS2/colors/color-145.xht new file mode 100644 index 0000000000..ba6467f94f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-145.xht @@ -0,0 +1,33 @@ +<!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 Test: Color set to yellow</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-04-08 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-145-ref.xht" /> + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'yellow' renders the correct foreground color of an element's text content." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + #test + { + color: yellow; + font: 100px/1 Ahem; + margin-bottom: 10px; + } + #reference + { + height: 100px; + width: 100px; + background-color: yellow; + } + </style> + </head> + <body> + <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p> + <div id="test">X</div> + <div id="reference"></div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-174.xht b/testing/web-platform/tests/css/CSS2/colors/color-174.xht new file mode 100644 index 0000000000..93bff69ec3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-174.xht @@ -0,0 +1,41 @@ +<!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 Test: Color set to 'inherit'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-15 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="../reference/ref-filled-green-100px-square.xht" /> + + <meta name="flags" content="ahem" /> + <meta name="assert" content="The 'color' set to 'inherit' adopts the foreground color of an element's parent container." /> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + div + { + height: 100px; + width: 100px; + } + #wrapper + { + color: green; + } + div div + { + color: red; + } + #test + { + color: inherit; + font: 100px/1 Ahem; + } + </style> + </head> + <body> + <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> + <div id="wrapper"> + <div id="test">X</div> + </div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-175-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-175-ref.xht new file mode 100644 index 0000000000..5c4e0b7de5 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-175-ref.xht @@ -0,0 +1,22 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + td {color: green;} + ]]></style> + + </head> + + <body> + + <table><tr><td>This text should be green.</td></tr></table> + + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-175.xht b/testing/web-platform/tests/css/CSS2/colors/color-175.xht new file mode 100644 index 0000000000..e082f3be76 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-175.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" lang="en"> + <head> + <title>CSS Test: CSS Colours: Inheritance into tables.</title> + <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> + <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact" /> + <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/color/003.html" type="text/html"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-175-ref.xht" /> + + <style type="text/css"> + div { color: green; } + </style> + </head> + <body> + <div> + <table> <tr> <td> This text should be green. </td> </tr> </table> + </div> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-176.xht b/testing/web-platform/tests/css/CSS2/colors/color-176.xht new file mode 100644 index 0000000000..af01bb36a4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-176.xht @@ -0,0 +1,19 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>CSS Test: Color Inheritance</title> + <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> + <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact" /> + <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/color/007.xml" type="application/xhtml+xml"/> + <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/color/007.html" type="text/html"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="../reference/ref-this-text-should-be-green.xht" /> + + <style type="text/css"> + html { color: green; } + </style> + </head> + <body> + <p>This text should be green.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-177.xht b/testing/web-platform/tests/css/CSS2/colors/color-177.xht new file mode 100644 index 0000000000..acc7f01af7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-177.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" lang="en"> + <head> + <title>CSS Test: CSS Colours: Inheritance into tables.</title> + <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> + <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact" /> + <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/color/002.html" type="text/html"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-175-ref.xht" /> + + <style type="text/css"> + body { color: green; } + </style> + </head> + <body> + <table> <tr> <td> This text should be green. </td> </tr> </table> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-001-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-001-ref.xht new file mode 100644 index 0000000000..235e10691b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-001-ref.xht @@ -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> + + <title>CSS Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + div {color: green;} + ]]></style> + + </head> + + <body> + + <p>Test passes if there are 2 green "Filler Text".</p> + + <div>Filler Text</div> + + <div>Filler Text</div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-001.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-001.xht new file mode 100644 index 0000000000..5d7dfb1be0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-001.xht @@ -0,0 +1,53 @@ +<!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 Test: Color applied to elements with 'display' set to 'table-row-group'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-001-ref.xht" /> + + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'table-row-group'." /> + <style type="text/css"> + #test + { + color: green; + display: table-row-group; + } + #table + { + color: red; + display: table; + } + .row + { + display: table-row; + } + .cell + { + display: table-cell; + } + </style> + </head> + <body> + <p>Test passes if there are 2 green "Filler Text".</p> + + <div id="table"> + + <div id="test"> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + </div> + + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-002.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-002.xht new file mode 100644 index 0000000000..830cbb2503 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-002.xht @@ -0,0 +1,54 @@ +<!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 Test: Color applied to elements with 'display' set to 'table-header-group'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-001-ref.xht" /> + + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'table-header-group'." /> + <style type="text/css"> + #test + { + color: green; + display: table-header-group; + } + #table + { + color: red; + display: table; + } + .row + { + display: table-row; + } + .cell + { + display: table-cell; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 green "Filler Text".</p> + + <div id="table"> + + <div id="test"> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + </div> + + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-003.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-003.xht new file mode 100644 index 0000000000..e60baaa549 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-003.xht @@ -0,0 +1,54 @@ +<!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 Test: Color applied to elements with 'display' set to 'table-footer-group'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-001-ref.xht" /> + + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'table-footer-group'." /> + <style type="text/css"> + #test + { + color: green; + display: table-footer-group; + } + #table + { + color: red; + display: table; + } + .row + { + display: table-row; + } + .cell + { + display: table-cell; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 green "Filler Text".</p> + + <div id="table"> + + <div id="test"> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + </div> + + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-004.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-004.xht new file mode 100644 index 0000000000..7cc6c0fe95 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-004.xht @@ -0,0 +1,46 @@ +<!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 Test: Color applied to elements with 'display' set to 'table-row'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-001-ref.xht" /> + + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'table-row'." /> + <style type="text/css"> + #table + { + color: red; + display: table; + } + .row + { + color: green; + display: table-row; + } + .cell + { + display: table-cell; + } + + </style> + </head> + <body> + <p>Test passes if there are 2 green "Filler Text".</p> + + <div id="table"> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-005-ref.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-005-ref.xht new file mode 100644 index 0000000000..13545524d7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-005-ref.xht @@ -0,0 +1,22 @@ +<!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 Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + </head> + + <body> + + <p>Test passes if there is <strong>no red</strong>.</p> + + <div>Filler Text</div> + + <div>Filler Text</div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-005.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-005.xht new file mode 100644 index 0000000000..a24c90c72b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-005.xht @@ -0,0 +1,56 @@ +<!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 Test: Color applied to elements with 'display' set to 'table-column-group'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-005-ref.xht" /> + + <meta name="assert" content="The 'color' property does not apply to elements with 'display' set to 'table-column-group'." /> + <style type="text/css"> + #test + { + display: table-column-group; + color: red; + } + #table + { + display: table; + } + + .col + { + display: table-column; + } + + .row + { + display: table-row; + } + .cell + { + display: table-cell; + } + </style> + </head> + <body> + <p>Test passes if there is <strong>no red</strong>.</p> + + <div id="table"> + + <div id="test"><div class="col"></div><div class="col"></div></div> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + </div> + + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-006.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-006.xht new file mode 100644 index 0000000000..6ab6c05aef --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-006.xht @@ -0,0 +1,50 @@ +<!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 Test: Color applied to elements with 'display' set to 'table-column'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-005-ref.xht" /> + + <meta name="assert" content="The 'color' property does not apply to elements with 'display' set to 'table-column'." /> + <style type="text/css"> + .test + { + color: red; + display: table-column; + } + #table + { + display: table; + } + .row + { + display: table-row; + } + .cell + { + display: table-cell; + } + </style> + </head> + <body> + <p>Test passes if there is <strong>no red</strong>.</p> + + <div id="table"> + + <div class="test"></div><div class="test"></div> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-007.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-007.xht new file mode 100644 index 0000000000..0072e8852c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-007.xht @@ -0,0 +1,40 @@ +<!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 Test: Color applied to elements with 'display' set to 'table-cell'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-001-ref.xht" /> + + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'table-cell'." /> + <style type="text/css"> + #table + { + color: red; + display: table; + } + .row + { + display: table-row; + } + .cell + { + color: green; + display: table-cell; + } + </style> + </head> + <body> + <p>Test passes if there are 2 green "Filler Text".</p> + <div id="table"> + <div class="row"> + <div class="cell">Filler Text</div> + </div> + <div class="row"> + <div class="cell">Filler Text</div> + </div> + </div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-008.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-008.xht new file mode 100644 index 0000000000..ff93a02643 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-008.xht @@ -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> + <title>CSS Test: Color applied to elements with 'display' set to 'inline'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-001-ref.xht" /> + + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'inline'." /> + <style type="text/css"> + div + { + color: green; + display: inline; + } + </style> + </head> + <body> + <p>Test passes if there are 2 green "Filler Text".</p> + <div>Filler Text</div> + <div><br />Filler Text</div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-009.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-009.xht new file mode 100644 index 0000000000..b4eef6f592 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-009.xht @@ -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> + <title>CSS Test: Color applied to elements with 'display' set to 'block'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-001-ref.xht" /> + + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'block'." /> + <style type="text/css"> + div {color: red;} + + span + { + color: green; + display: block; + } + </style> + </head> + <body> + <p>Test passes if there are 2 green "Filler Text".</p> + <div> + <span>Filler Text</span> + <span>Filler Text</span> + </div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-010.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-010.xht new file mode 100644 index 0000000000..d3c122b5d9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-010.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> + <title>CSS Test: Color applied to elements with 'display' set to 'list-item'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-07-01 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'list-item'." /> + <style type="text/css"> + div + { + color: green; + display: list-item; + margin-left: 2em; + } + </style> + </head> + <body> + <p>Test passes if the "Filler Text" below is green and if there is a green marker bullet on its left-hand side.</p> + <div>Filler Text</div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-012.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-012.xht new file mode 100644 index 0000000000..1824f953ca --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-012.xht @@ -0,0 +1,41 @@ +<!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 Test: Color applied to elements with 'display' set to 'inline-block'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-001-ref.xht" /> + + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'inline-block'." /> + <style type="text/css"> + div + { + color: red; + } + + span#inline-block + { + color: green; + display: inline-block; + } + + span.block-descendant + { + display: block; + } + </style> + </head> + <body> + <p>Test passes if there are 2 green "Filler Text".</p> + + <div> + <span id="inline-block"> + <span class="block-descendant">Filler Text</span> + <span class="block-descendant">Filler Text</span> + </span> + </div> + + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-013.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-013.xht new file mode 100644 index 0000000000..4a3fdadd91 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-013.xht @@ -0,0 +1,44 @@ +<!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 Test: Color applied to elements with 'display' set to 'table'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-001-ref.xht" /> + + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'table'." /> + <style type="text/css"> + #table + { + color: green; + display: table; + } + .row + { + display: table-row; + } + .cell + { + display: table-cell; + } + </style> + </head> + <body> + <p>Test passes if there are 2 green "Filler Text".</p> + + <div id="table"> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-014.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-014.xht new file mode 100644 index 0000000000..41772b0781 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-014.xht @@ -0,0 +1,44 @@ +<!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 Test: Color applied to elements with 'display' set to 'inline-table'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-001-ref.xht" /> + + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'inline-table'." /> + <style type="text/css"> + #table + { + color: green; + display: inline-table; + } + .row + { + display: table-row; + } + .cell + { + display: table-cell; + } + </style> + </head> + <body> + <p>Test passes if there are 2 green "Filler Text".</p> + + <div id="table"> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + <div class="row"> + <div class="cell">Filler</div><div class="cell"> Text</div> + </div> + + </div> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/color-applies-to-015.xht b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-015.xht new file mode 100644 index 0000000000..a365889658 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/color-applies-to-015.xht @@ -0,0 +1,42 @@ +<!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 Test: Color applied to elements with 'display' set to 'table-caption'</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-14 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-color" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" /> + <link rel="match" href="color-applies-to-001-ref.xht" /> + + <meta name="assert" content="The 'color' property applies to elements with 'display' set to 'table-caption'." /> + <style type="text/css"> + #table + { + color: red; + display: table; + } + #caption + { + color: green; + display: table-caption; + } + #row + { + display: table-row; + } + #cell + { + display: table-cell; + } + </style> + </head> + <body> + <p>Test passes if there are 2 green "Filler Text".</p> + <div id="table"> + <div id="caption">Filler Text<br />Filler Text</div> + <div id="row"> + <div id="cell"></div> + </div> + </div> + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/colors-007-ref.xht b/testing/web-platform/tests/css/CSS2/colors/colors-007-ref.xht new file mode 100644 index 0000000000..684fad284e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/colors-007-ref.xht @@ -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> + + <title>CSS Reftest Reference</title> + + <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> + + <style type="text/css"><![CDATA[ + p {color: green;} + ]]> + </style> + + </head> + + <body> + + <p>This sentence must be green.</p> + + <p>This sentence must be green.</p> + + <p>This sentence must be green.</p> + + <p>This sentence must be green.</p> + + </body> +</html>
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/colors-007.xht b/testing/web-platform/tests/css/CSS2/colors/colors-007.xht new file mode 100644 index 0000000000..142df128a0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/colors-007.xht @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>CSS Test: Color keyword syntax</title> + <link rel="author" title="Germain Garand" href="mailto:germain@ebooksfrance.org"/> + <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/> + <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-07-01 --> + <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#color-units"/> + <link rel="match" href="colors-007-ref.xht" /> + + <meta name="flags" content="invalid"/> + <style type="text/css"> + p.correct { color: red } + p.incorrect { color: green } + p#keyword { color: green } + p#quoted { color: 'red'; color: "red"; } + p#hash { color: #red } + p#escape { color: g\re\45n } + </style> + </head> + <body> + <p class="incorrect" id="quoted">This sentence must be green.</p> + <p class="incorrect" id="hash">This sentence must be green.</p> + <p class="correct" id="keyword">This sentence must be green.</p> + <p class="correct" id="escape">This sentence must be green.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/colors/support/000001_color.png b/testing/web-platform/tests/css/CSS2/colors/support/000001_color.png Binary files differnew file mode 100644 index 0000000000..44e8f5fc3f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/000001_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/000002_color.png b/testing/web-platform/tests/css/CSS2/colors/support/000002_color.png Binary files differnew file mode 100644 index 0000000000..6825fc50d3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/000002_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/00007f_color.png b/testing/web-platform/tests/css/CSS2/colors/support/00007f_color.png Binary files differnew file mode 100644 index 0000000000..e650990901 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/00007f_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/000080_color.png b/testing/web-platform/tests/css/CSS2/colors/support/000080_color.png Binary files differnew file mode 100644 index 0000000000..a45e346be3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/000080_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/0000fc_color.png b/testing/web-platform/tests/css/CSS2/colors/support/0000fc_color.png Binary files differnew file mode 100644 index 0000000000..91d607c63f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/0000fc_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/0000fe_color.png b/testing/web-platform/tests/css/CSS2/colors/support/0000fe_color.png Binary files differnew file mode 100644 index 0000000000..85b46c91f3 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/0000fe_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/000100_color.png b/testing/web-platform/tests/css/CSS2/colors/support/000100_color.png Binary files differnew file mode 100644 index 0000000000..f588ea6a54 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/000100_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/000200_color.png b/testing/web-platform/tests/css/CSS2/colors/support/000200_color.png Binary files differnew file mode 100644 index 0000000000..96780cea16 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/000200_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/000_color.png b/testing/web-platform/tests/css/CSS2/colors/support/000_color.png Binary files differnew file mode 100644 index 0000000000..77ff0976b2 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/000_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/001_color.png b/testing/web-platform/tests/css/CSS2/colors/support/001_color.png Binary files differnew file mode 100644 index 0000000000..07142d0174 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/001_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/007f00_color.png b/testing/web-platform/tests/css/CSS2/colors/support/007f00_color.png Binary files differnew file mode 100644 index 0000000000..795241a77b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/007f00_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/008000_color.png b/testing/web-platform/tests/css/CSS2/colors/support/008000_color.png Binary files differnew file mode 100644 index 0000000000..7d36483c20 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/008000_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/009_color.png b/testing/web-platform/tests/css/CSS2/colors/support/009_color.png Binary files differnew file mode 100644 index 0000000000..59c8c225b7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/009_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/00e_color.png b/testing/web-platform/tests/css/CSS2/colors/support/00e_color.png Binary files differnew file mode 100644 index 0000000000..890627ef9f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/00e_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/00f_color.png b/testing/web-platform/tests/css/CSS2/colors/support/00f_color.png Binary files differnew file mode 100644 index 0000000000..d86f444a9e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/00f_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/00fc00_color.png b/testing/web-platform/tests/css/CSS2/colors/support/00fc00_color.png Binary files differnew file mode 100644 index 0000000000..45b2d4e491 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/00fc00_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/00fe00_color.png b/testing/web-platform/tests/css/CSS2/colors/support/00fe00_color.png Binary files differnew file mode 100644 index 0000000000..d87dfad1a7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/00fe00_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/010000_color.png b/testing/web-platform/tests/css/CSS2/colors/support/010000_color.png Binary files differnew file mode 100644 index 0000000000..4fb66c452b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/010000_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/010101_color.png b/testing/web-platform/tests/css/CSS2/colors/support/010101_color.png Binary files differnew file mode 100644 index 0000000000..3d12cdf283 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/010101_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/010_color.png b/testing/web-platform/tests/css/CSS2/colors/support/010_color.png Binary files differnew file mode 100644 index 0000000000..aa02c2fc07 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/010_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/020000_color.png b/testing/web-platform/tests/css/CSS2/colors/support/020000_color.png Binary files differnew file mode 100644 index 0000000000..b9081b2c52 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/020000_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/020202_color.png b/testing/web-platform/tests/css/CSS2/colors/support/020202_color.png Binary files differnew file mode 100644 index 0000000000..4609f7e32b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/020202_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/090_color.png b/testing/web-platform/tests/css/CSS2/colors/support/090_color.png Binary files differnew file mode 100644 index 0000000000..08486ddd2e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/090_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/0e0_color.png b/testing/web-platform/tests/css/CSS2/colors/support/0e0_color.png Binary files differnew file mode 100644 index 0000000000..9b3da18419 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/0e0_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/0f0_color.png b/testing/web-platform/tests/css/CSS2/colors/support/0f0_color.png Binary files differnew file mode 100644 index 0000000000..b79feb73e9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/0f0_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/100_color.png b/testing/web-platform/tests/css/CSS2/colors/support/100_color.png Binary files differnew file mode 100644 index 0000000000..3252b1203a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/100_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/111_color.png b/testing/web-platform/tests/css/CSS2/colors/support/111_color.png Binary files differnew file mode 100644 index 0000000000..3f87769d3e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/111_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/1x1-green.png b/testing/web-platform/tests/css/CSS2/colors/support/1x1-green.png Binary files differnew file mode 100644 index 0000000000..b98ca0ba0a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/1x1-green.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/1x1-lime.png b/testing/web-platform/tests/css/CSS2/colors/support/1x1-lime.png Binary files differnew file mode 100644 index 0000000000..cb397fb090 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/1x1-lime.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/1x1-maroon.png b/testing/web-platform/tests/css/CSS2/colors/support/1x1-maroon.png Binary files differnew file mode 100644 index 0000000000..3f86b07219 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/1x1-maroon.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/1x1-navy.png b/testing/web-platform/tests/css/CSS2/colors/support/1x1-navy.png Binary files differnew file mode 100644 index 0000000000..9b9a03955b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/1x1-navy.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/1x1-red.png b/testing/web-platform/tests/css/CSS2/colors/support/1x1-red.png Binary files differnew file mode 100644 index 0000000000..6bd73ac101 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/1x1-red.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/1x1-white.png b/testing/web-platform/tests/css/CSS2/colors/support/1x1-white.png Binary files differnew file mode 100644 index 0000000000..dd43faec54 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/1x1-white.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/60x60-gg-rr.png b/testing/web-platform/tests/css/CSS2/colors/support/60x60-gg-rr.png Binary files differnew file mode 100644 index 0000000000..84f5b2a4f1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/60x60-gg-rr.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/60x60-green.png b/testing/web-platform/tests/css/CSS2/colors/support/60x60-green.png Binary files differnew file mode 100644 index 0000000000..b3c8cf3eb4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/60x60-green.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/7f0000_color.png b/testing/web-platform/tests/css/CSS2/colors/support/7f0000_color.png Binary files differnew file mode 100644 index 0000000000..73c14d8efc --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/7f0000_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/7f7f7f_color.png b/testing/web-platform/tests/css/CSS2/colors/support/7f7f7f_color.png Binary files differnew file mode 100644 index 0000000000..96b704d3bf --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/7f7f7f_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/800000_color.png b/testing/web-platform/tests/css/CSS2/colors/support/800000_color.png Binary files differnew file mode 100644 index 0000000000..5e366ce05a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/800000_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/808080_color.png b/testing/web-platform/tests/css/CSS2/colors/support/808080_color.png Binary files differnew file mode 100644 index 0000000000..86da9d7b5e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/808080_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/900_color.png b/testing/web-platform/tests/css/CSS2/colors/support/900_color.png Binary files differnew file mode 100644 index 0000000000..7ebcd4d596 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/900_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/999_color.png b/testing/web-platform/tests/css/CSS2/colors/support/999_color.png Binary files differnew file mode 100644 index 0000000000..a6732b17c9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/999_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/a-green.css b/testing/web-platform/tests/css/CSS2/colors/support/a-green.css new file mode 100644 index 0000000000..b0dbb071d5 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/a-green.css @@ -0,0 +1 @@ +.a { color: green; } diff --git a/testing/web-platform/tests/css/CSS2/colors/support/aqua_color.png b/testing/web-platform/tests/css/CSS2/colors/support/aqua_color.png Binary files differnew file mode 100644 index 0000000000..0a26c7d00d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/aqua_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/b-green.css b/testing/web-platform/tests/css/CSS2/colors/support/b-green.css new file mode 100644 index 0000000000..a0473f5ca2 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/b-green.css @@ -0,0 +1 @@ +.b { color: green; }
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/support/blue15x15.png b/testing/web-platform/tests/css/CSS2/colors/support/blue15x15.png Binary files differnew file mode 100644 index 0000000000..89de32fdb8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/blue15x15.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/c-red.css b/testing/web-platform/tests/css/CSS2/colors/support/c-red.css new file mode 100644 index 0000000000..d4ba5c64e9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/c-red.css @@ -0,0 +1 @@ +.c { color: red; }
\ No newline at end of file diff --git a/testing/web-platform/tests/css/CSS2/colors/support/cat.png b/testing/web-platform/tests/css/CSS2/colors/support/cat.png Binary files differnew file mode 100644 index 0000000000..85dd732481 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/cat.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/diamond.png b/testing/web-platform/tests/css/CSS2/colors/support/diamond.png Binary files differnew file mode 100644 index 0000000000..51112efc7c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/diamond.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/e00_color.png b/testing/web-platform/tests/css/CSS2/colors/support/e00_color.png Binary files differnew file mode 100644 index 0000000000..099ac40636 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/e00_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/eee_color.png b/testing/web-platform/tests/css/CSS2/colors/support/eee_color.png Binary files differnew file mode 100644 index 0000000000..0fee0d2701 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/eee_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/f00_color.png b/testing/web-platform/tests/css/CSS2/colors/support/f00_color.png Binary files differnew file mode 100644 index 0000000000..e04c3e1b79 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/f00_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/fc0000_color.png b/testing/web-platform/tests/css/CSS2/colors/support/fc0000_color.png Binary files differnew file mode 100644 index 0000000000..08db9a3d40 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/fc0000_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/fcfcfc_color.png b/testing/web-platform/tests/css/CSS2/colors/support/fcfcfc_color.png Binary files differnew file mode 100644 index 0000000000..1f60f7f655 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/fcfcfc_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/fe0000_color.png b/testing/web-platform/tests/css/CSS2/colors/support/fe0000_color.png Binary files differnew file mode 100644 index 0000000000..a37fde2585 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/fe0000_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/fefefe_color.png b/testing/web-platform/tests/css/CSS2/colors/support/fefefe_color.png Binary files differnew file mode 100644 index 0000000000..aaf3e29683 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/fefefe_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/fff_color.png b/testing/web-platform/tests/css/CSS2/colors/support/fff_color.png Binary files differnew file mode 100644 index 0000000000..dae1772055 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/fff_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/fuchsia_color.png b/testing/web-platform/tests/css/CSS2/colors/support/fuchsia_color.png Binary files differnew file mode 100644 index 0000000000..65e6878bb4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/fuchsia_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/green15x15.png b/testing/web-platform/tests/css/CSS2/colors/support/green15x15.png Binary files differnew file mode 100644 index 0000000000..51741584a0 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/green15x15.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/maroon_color.png b/testing/web-platform/tests/css/CSS2/colors/support/maroon_color.png Binary files differnew file mode 100644 index 0000000000..a85b5ae150 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/maroon_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/olive_color.png b/testing/web-platform/tests/css/CSS2/colors/support/olive_color.png Binary files differnew file mode 100644 index 0000000000..ba0173f374 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/olive_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/pattern-grg-rgr-grg.png b/testing/web-platform/tests/css/CSS2/colors/support/pattern-grg-rgr-grg.png Binary files differnew file mode 100644 index 0000000000..9b88fbd811 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/pattern-grg-rgr-grg.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/pattern-grg-rrg-rgg.png b/testing/web-platform/tests/css/CSS2/colors/support/pattern-grg-rrg-rgg.png Binary files differnew file mode 100644 index 0000000000..fcf4f3fd7d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/pattern-grg-rrg-rgg.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/pattern-rgr-grg-rgr.png b/testing/web-platform/tests/css/CSS2/colors/support/pattern-rgr-grg-rgr.png Binary files differnew file mode 100644 index 0000000000..d454e3a630 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/pattern-rgr-grg-rgr.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/pattern-tr.png b/testing/web-platform/tests/css/CSS2/colors/support/pattern-tr.png Binary files differnew file mode 100644 index 0000000000..8b4b25364e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/pattern-tr.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/purple_color.png b/testing/web-platform/tests/css/CSS2/colors/support/purple_color.png Binary files differnew file mode 100644 index 0000000000..cc5bf7e45a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/purple_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/ring.png b/testing/web-platform/tests/css/CSS2/colors/support/ring.png Binary files differnew file mode 100644 index 0000000000..061bb94eba --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/ring.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/silver_color.png b/testing/web-platform/tests/css/CSS2/colors/support/silver_color.png Binary files differnew file mode 100644 index 0000000000..ceb4e510f9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/silver_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/square-purple.png b/testing/web-platform/tests/css/CSS2/colors/support/square-purple.png Binary files differnew file mode 100644 index 0000000000..0f522d7872 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/square-purple.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/square-teal.png b/testing/web-platform/tests/css/CSS2/colors/support/square-teal.png Binary files differnew file mode 100644 index 0000000000..e567f51b91 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/square-teal.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/square-white.png b/testing/web-platform/tests/css/CSS2/colors/support/square-white.png Binary files differnew file mode 100644 index 0000000000..5853cbb238 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/square-white.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/swatch-blue.png b/testing/web-platform/tests/css/CSS2/colors/support/swatch-blue.png Binary files differnew file mode 100644 index 0000000000..bf2759634d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/swatch-blue.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/swatch-green.png b/testing/web-platform/tests/css/CSS2/colors/support/swatch-green.png Binary files differnew file mode 100644 index 0000000000..0aa79b0c86 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/swatch-green.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/swatch-lime.png b/testing/web-platform/tests/css/CSS2/colors/support/swatch-lime.png Binary files differnew file mode 100644 index 0000000000..55fd7fdaed --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/swatch-lime.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/swatch-orange.png b/testing/web-platform/tests/css/CSS2/colors/support/swatch-orange.png Binary files differnew file mode 100644 index 0000000000..d3cd498b52 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/swatch-orange.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/swatch-red.png b/testing/web-platform/tests/css/CSS2/colors/support/swatch-red.png Binary files differnew file mode 100644 index 0000000000..1caf25c992 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/swatch-red.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/swatch-white.png b/testing/web-platform/tests/css/CSS2/colors/support/swatch-white.png Binary files differnew file mode 100644 index 0000000000..1a7d4323d7 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/swatch-white.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/swatch-yellow.png b/testing/web-platform/tests/css/CSS2/colors/support/swatch-yellow.png Binary files differnew file mode 100644 index 0000000000..1591aa0e2e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/swatch-yellow.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/teal_color.png b/testing/web-platform/tests/css/CSS2/colors/support/teal_color.png Binary files differnew file mode 100644 index 0000000000..2fde04855d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/teal_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/test-bl.png b/testing/web-platform/tests/css/CSS2/colors/support/test-bl.png Binary files differnew file mode 100644 index 0000000000..904e24e996 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/test-bl.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/test-br.png b/testing/web-platform/tests/css/CSS2/colors/support/test-br.png Binary files differnew file mode 100644 index 0000000000..f413ff5c1a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/test-br.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/test-outer.png b/testing/web-platform/tests/css/CSS2/colors/support/test-outer.png Binary files differnew file mode 100644 index 0000000000..82eeace7fc --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/test-outer.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/test-tl.png b/testing/web-platform/tests/css/CSS2/colors/support/test-tl.png Binary files differnew file mode 100644 index 0000000000..f6ac0ef7e8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/test-tl.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/test-tr.png b/testing/web-platform/tests/css/CSS2/colors/support/test-tr.png Binary files differnew file mode 100644 index 0000000000..59843ae54b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/test-tr.png diff --git a/testing/web-platform/tests/css/CSS2/colors/support/yellow_color.png b/testing/web-platform/tests/css/CSS2/colors/support/yellow_color.png Binary files differnew file mode 100644 index 0000000000..d0d02000d6 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/support/yellow_color.png diff --git a/testing/web-platform/tests/css/CSS2/colors/table-backgrounds-bs-row-002.xht b/testing/web-platform/tests/css/CSS2/colors/table-backgrounds-bs-row-002.xht new file mode 100644 index 0000000000..986448b173 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/colors/table-backgrounds-bs-row-002.xht @@ -0,0 +1,43 @@ +<!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 Test: background-position - table-row</title> + <link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-layers"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/> + <meta name="flags" content="image"/> + <meta name="assert" content="Positioning a background image on a table row + positions it within a box that extends from the left edge of its leftmost + table cell to the right edge of its rightmost tabel cell."/> + <style type="text/css"> + #test{ + display:table; + width:500px; + } + .table-row{ + background:url(support/swatch-red.png) repeat-y 50% 0; + display:table-row; + } + .table-cell{ + display:table-cell; + height:100px; + } + .border-left{ + border-left:8px solid green; + } + .border-right{ + border-right:8px solid green; + } + </style> + </head> + <body> + <p>To pass, there <strong>must not</strong> be any red below.</p> + <div id="test"> + <div class="table-row"> + <div class="table-cell border-right"></div> + <div class="table-cell border-left"></div> + </div> + </div> + </body> +</html> |