summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/maction-selection.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/mathml/maction-selection.html')
-rw-r--r--layout/reftests/mathml/maction-selection.html64
1 files changed, 64 insertions, 0 deletions
diff --git a/layout/reftests/mathml/maction-selection.html b/layout/reftests/mathml/maction-selection.html
new file mode 100644
index 0000000000..ce08748b75
--- /dev/null
+++ b/layout/reftests/mathml/maction-selection.html
@@ -0,0 +1,64 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>maction selection</title>
+</head>
+
+<body>
+
+<p>Statusline:
+<math>
+ <maction actiontype="statusline" selection="2">
+ <msqrt><mi>x</mi></msqrt>
+ <mtext>square root of x</mtext>
+ </maction>
+</math>
+</p>
+
+<p>Tooltip:
+<math>
+ <maction actiontype="tooltip" selection="2">
+ <msqrt><mi>x</mi></msqrt>
+ <mtext>square root of x</mtext>
+ </maction>
+</math>
+</p>
+
+<p>Toggle:
+<math>
+ <maction actiontype="toggle" selection="2">
+
+ <mfrac>
+ <mn>3</mn>
+ <mn>4</mn>
+ </mfrac>
+
+ <mfrac>
+ <mn>6</mn>
+ <mn>8</mn>
+ </mfrac>
+
+ </maction>
+</math>
+</p>
+
+<p>Toggle 2:
+<math>
+ <maction actiontype="toggle" selection="2">
+
+ <mfrac>
+ <mn>3</mn>
+ <mn>4</mn>
+ </mfrac>
+
+ <mfrac>
+ <mn>6</mn>
+ <mn>8</mn>
+ </mfrac>
+
+ </maction>
+</math>
+</p>
+
+</body>
+</html>