diff options
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/selectors/first-letter-punctuation-064.xht')
-rw-r--r-- | testing/web-platform/tests/css/CSS2/selectors/first-letter-punctuation-064.xht | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/selectors/first-letter-punctuation-064.xht b/testing/web-platform/tests/css/CSS2/selectors/first-letter-punctuation-064.xht new file mode 100644 index 0000000000..c391064051 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/selectors/first-letter-punctuation-064.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 Test: First-letter with the 'fullwidth right curly bracket' punctuation character</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" /> + <link rel="match" href="first-letter-punctuation-064-ref.xht" /> + <meta name="assert" content="Punctuation characters defined in Unicode [UNICODE] in (Ps),(Pe),(Pi),(Pf) and (Po) punctuation classes that precede or follow the first letter are included in first-letter selection - 'fullwidth right curly bracket'." /> + <style type="text/css"> + div:first-letter + { + color: green; + font-size: 36px; + line-height: 2; + } + </style> + </head> + <body> + <p>Test passes if the "T" and surrounding punctuation below are green.</p> + <div>}T}est</div> + </body> +</html> |