summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/relations/css-styling/mathcolor-mathbackground-css-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/mathml/relations/css-styling/mathcolor-mathbackground-css-ref.html')
-rw-r--r--testing/web-platform/tests/mathml/relations/css-styling/mathcolor-mathbackground-css-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mathml/relations/css-styling/mathcolor-mathbackground-css-ref.html b/testing/web-platform/tests/mathml/relations/css-styling/mathcolor-mathbackground-css-ref.html
new file mode 100644
index 0000000000..682fa64233
--- /dev/null
+++ b/testing/web-platform/tests/mathml/relations/css-styling/mathcolor-mathbackground-css-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS color (reference)</title>
+<link rel="stylesheet" href="/fonts/ahem.css">
+<style>
+ math {
+ font-family: Ahem;
+ font-size: 20px;
+ }
+</style>
+</style>
+</head>
+<body>
+ <p>Test passes if you see a green rectangle:</p>
+ <p>
+ <math mathbackground="#0f0" mathcolor="#0f0">
+ <mtext>X X</mtext>
+ </math>
+ </p>
+</body>
+</html>