summaryrefslogtreecommitdiffstats
path: root/layout/reftests/mathml/displaystyle-3-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/mathml/displaystyle-3-ref.html')
-rw-r--r--layout/reftests/mathml/displaystyle-3-ref.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/layout/reftests/mathml/displaystyle-3-ref.html b/layout/reftests/mathml/displaystyle-3-ref.html
new file mode 100644
index 000000000..564f4cc5d
--- /dev/null
+++ b/layout/reftests/mathml/displaystyle-3-ref.html
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>displaystyle</title>
+ <meta charset="utf-8"/>
+ </head>
+ <body>
+
+ <!-- Test dynamic change of displaystyle -->
+ <math id="m1" displaystyle="true">
+ <munder><mo>O</mo><mo>O</mo></munder>
+ <mfrac><mi>x</mi><mi>y</mi></mfrac>
+ </math>
+ <math>
+ <mstyle id="m2" displaystyle="true">
+ <munder><mo>O</mo><mo>O</mo></munder>
+ <mfrac><mi>x</mi><mi>y</mi></mfrac>
+ </mstyle>
+ </math>
+ <math>
+ <mtable id="m3" displaystyle="true">
+ <mtr>
+ <mtd>
+ <munder><mo>O</mo><mo>O</mo></munder>
+ <mfrac><mi>x</mi><mi>y</mi></mfrac>
+ </mtd>
+ </mtr>
+ </mtable>
+ </math>
+ <math id="m4" displaystyle="false">
+ <msub><mo>O</mo><mo>O</mo></msub>
+ <mfrac><mi>x</mi><mi>y</mi></mfrac>
+ </math>
+ <math>
+ <mstyle id="m5" displaystyle="false">
+ <msub><mo>O</mo><mo>O</mo></msub>
+ <mfrac><mi>x</mi><mi>y</mi></mfrac>
+ </mstyle>
+ </math>
+ <math>
+ <mtable id="m6" displaystyle="false">
+ <mtr>
+ <mtd>
+ <msub><mo>O</mo><mo>O</mo></msub>
+ <mfrac><mi>x</mi><mi>y</mi></mfrac>
+ </mtd>
+ </mtr>
+ </mtable>
+ </math>
+
+ </body>
+</html>