diff options
Diffstat (limited to '')
-rw-r--r-- | testing/web-platform/tests/mathml/relations/css-styling/first-line-first-letter-pseudo-elements-004-ref.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mathml/relations/css-styling/first-line-first-letter-pseudo-elements-004-ref.html b/testing/web-platform/tests/mathml/relations/css-styling/first-line-first-letter-pseudo-elements-004-ref.html new file mode 100644 index 0000000000..60d3427489 --- /dev/null +++ b/testing/web-platform/tests/mathml/relations/css-styling/first-line-first-letter-pseudo-elements-004-ref.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>MathML and ::first-line/::first-letter pseudo-elements (reference)</title> +<style> + .firstline > span { background: lime; } + .firstletter > span { background: lime; } +</style> +<ol> + <li>PASS if first line is green: + <math> + <mtext><span class="firstline"><span>Hello,</span><br/>World!</span></mtext> + </math> + </li> + <li>PASS if first letter is green: + <math> + <mtext><span class="firstletter"><span>H</span>ello, World!</span></mtext> + </math> + </li> +</ol> |