diff options
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/generated-content/content-attr-case-001.html')
-rw-r--r-- | testing/web-platform/tests/css/CSS2/generated-content/content-attr-case-001.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/generated-content/content-attr-case-001.html b/testing/web-platform/tests/css/CSS2/generated-content/content-attr-case-001.html new file mode 100644 index 0000000000..2ba49f9558 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/generated-content/content-attr-case-001.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html> + <head> + <title>CSS Test: Content property attr(x) case sensitivity</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> + <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content"> + <link rel="match" href="../../reference/pass_if_pass_below.html" /> + <meta name="flags" content="HTMLonly"> + <meta name="assert" content="The attr(x) function selects the attribute even when case does not match."> + <style type="text/css"> + div:before + { + content: attr(Title); + } + </style> + </head> + <body> + <p>Test passes if there is the word "PASS" below.</p> + <div title="PASS"></div> + </body> +</html> |