summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/first-line-first-letter-pseudo-elements-003-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/mathml/relations/css-styling/first-line-first-letter-pseudo-elements-003-ref.html')
-rw-r--r--testing/web-platform/tests/mathml/relations/css-styling/first-line-first-letter-pseudo-elements-003-ref.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mathml/relations/css-styling/first-line-first-letter-pseudo-elements-003-ref.html b/testing/web-platform/tests/mathml/relations/css-styling/first-line-first-letter-pseudo-elements-003-ref.html
new file mode 100644
index 0000000000..825b397057
--- /dev/null
+++ b/testing/web-platform/tests/mathml/relations/css-styling/first-line-first-letter-pseudo-elements-003-ref.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>MathML and ::first-line/::first-letter pseudo-elements (reference)</title>
+<p>PASS if there is no red.</p>
+<ol>
+ <li>
+ <div class="firstline">
+ <math style="display: inline math"><mtext>Hello<br>World!</mtext></math>
+ </li>
+ <li>
+ <div class="firstletter">
+ <math>
+ <mtext style="display: inline math">Hello<br>World!</mtext>
+ </math>
+ </div>
+ </li>
+ <li>
+ <div class="firstline">
+ <math>
+ <mtext style="display: block math">Hello<br>World!</mtext>
+ </math>
+ </div>
+ </li>
+ <li>
+ <div class="firstletter">
+ <math>
+ <mtext style="display: block math">Hello<br>World!</mtext>
+ </math>
+ </div>
+ </li>
+</ol>