diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-color/t41-html4-keywords-a.xht')
-rw-r--r-- | testing/web-platform/tests/css/css-color/t41-html4-keywords-a.xht | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-color/t41-html4-keywords-a.xht b/testing/web-platform/tests/css/css-color/t41-html4-keywords-a.xht new file mode 100644 index 0000000000..b866dd55c1 --- /dev/null +++ b/testing/web-platform/tests/css/css-color/t41-html4-keywords-a.xht @@ -0,0 +1,42 @@ +<!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: HTML4 color keywords</title> + <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> + <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> + <link rel="help" href="http://www.w3.org/TR/css3-color/#html4" /> + <link rel="match" href="t41-html4-keywords-a-ref.html" /> + <meta name="assert" content="Test that the HTML4 color keywords have the correct values." /> + <style type="text/css"><![CDATA[ + html, body { background: #dddddd; color: #000000; } + table { border-spacing: 0; padding: 0; border: none; } + td { border: none; padding: 0; } + ]]></style> + </head> + <body> + + <p>Each row in the following table (except the first and last, to show where the columns are) should have two cells with the same background color. None of them should match the background of the page.</p> + + <table> + <tr><td style="background: black"> </td><td style="background: white"> </td></tr> + <tr><td style="background: black"> </td><td style="background: #000000"> </td></tr> + <tr><td style="background: green"> </td><td style="background: #008000"> </td></tr> + <tr><td style="background: silver"> </td><td style="background: #C0C0C0"> </td></tr> + <tr><td style="background: lime"> </td><td style="background: #00FF00"> </td></tr> + <tr><td style="background: gray"> </td><td style="background: #808080"> </td></tr> + <tr><td style="background: olive"> </td><td style="background: #808000"> </td></tr> + <tr><td style="background: white"> </td><td style="background: #FFFFFF"> </td></tr> + <tr><td style="background: yellow"> </td><td style="background: #FFFF00"> </td></tr> + <tr><td style="background: maroon"> </td><td style="background: #800000"> </td></tr> + <tr><td style="background: navy"> </td><td style="background: #000080"> </td></tr> + <tr><td style="background: red"> </td><td style="background: #FF0000"> </td></tr> + <tr><td style="background: blue"> </td><td style="background: #0000FF"> </td></tr> + <tr><td style="background: purple"> </td><td style="background: #800080"> </td></tr> + <tr><td style="background: teal"> </td><td style="background: #008080"> </td></tr> + <tr><td style="background: fuchsia"> </td><td style="background: #FF00FF"> </td></tr> + <tr><td style="background: aqua"> </td><td style="background: #00FFFF"> </td></tr> + <tr><td style="background: white"> </td><td style="background: black"> </td></tr> + </table> + + </body> +</html> |