diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/mathml/disabled-scriptlevel-1-ref.xhtml | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/mathml/disabled-scriptlevel-1-ref.xhtml')
-rw-r--r-- | layout/reftests/mathml/disabled-scriptlevel-1-ref.xhtml | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/layout/reftests/mathml/disabled-scriptlevel-1-ref.xhtml b/layout/reftests/mathml/disabled-scriptlevel-1-ref.xhtml new file mode 100644 index 000000000..6b22791ab --- /dev/null +++ b/layout/reftests/mathml/disabled-scriptlevel-1-ref.xhtml @@ -0,0 +1,133 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>scriptlevel</title> + <meta charset="utf-8"/> + <style> + h2 { + text-align:center; + } + </style> + </head> + <body> + + <!-- Test scriptlevel on mstyle --> + <randomelement> + <mstyle scriptsizemultiplier="2"> + <mtext>O</mtext> + <mstyle scriptlevel="1"><mtext>O</mtext></mstyle> + </mstyle> + </randomelement> + + <!-- The mfrac element sets displaystyle to "false", or if it was already + false increments scriptlevel by 1, within numerator and denominator. + --> + <randomelement> + <mstyle scriptsizemultiplier="2"> + <mstyle displaystyle="false"> + <mfrac> + <mtext>O</mtext> + <mtext>O</mtext> + </mfrac> + </mstyle> + <mstyle displaystyle="true"> + <mfrac> + <mtext>O</mtext> + <mtext>O</mtext> + </mfrac> + </mstyle> + </mstyle> + </randomelement> + + <!-- The mroot element increments scriptlevel by 2, and sets + displaystyle to "false", within index, but leaves both attributes + unchanged within base. + The msqrt element leaves both attributes unchanged within its + argument. --> + <randomelement> + <mstyle scriptsizemultiplier="2"> + <mroot> + <mtext>O</mtext> + <mtext>O</mtext> + </mroot> + <msqrt> + <mtext>O</mtext> + </msqrt> + </mstyle> + </randomelement> + +<!-- + The msub element [...] increments scriptlevel by 1, and sets displaystyle to + "false", within subscript, but leaves both attributes unchanged within base. + + The msup element [...] increments scriptlevel by 1, and sets displaystyle to + "false", within superscript, but leaves both attributes unchanged within + base. + + The msubsup element [...] increments scriptlevel by 1, and sets displaystyle + to "false", within subscript and superscript, but leaves both attributes + unchanged within base. + + The mmultiscripts element increments scriptlevel by 1, and sets displaystyle + to "false", within each of its arguments except base, but leaves both + attributes unchanged within base. + --> + <randomelement> + <mstyle scriptsizemultiplier="2"> + <msub> + <mtext>O</mtext> + <mtext>O</mtext> + </msub> + <msup> + <mtext>O</mtext> + <mtext>O</mtext> + </msup> + <msubsup> + <mtext>O</mtext> + <mtext>O</mtext> + <mtext>O</mtext> + </msubsup> + <mmultiscripts> + <mtext>O</mtext> + <mtext>O</mtext> + <mtext>O</mtext> + <mprescripts/> + <mtext>O</mtext> + <mtext>O</mtext> + </mmultiscripts> + </mstyle> + </randomelement> + +<!-- + The munder element [...] always sets displaystyle to "false" within the + underscript, but increments scriptlevel by 1 only when accentunder is + "false". Within base, it always leaves both attributes unchanged. + + The mover element [...] always sets displaystyle to "false" within + overscript, but increments scriptlevel by 1 only when accent is "false". + Within base, it always leaves both attributes unchanged. + + The munderover [..] always sets displaystyle to "false" within underscript + and overscript, but increments scriptlevel by 1 only when accentunder or + accent, respectively, are "false". Within base, it always leaves both + attributes unchanged. +--> + <randomelement> + <mstyle scriptsizemultiplier="2"> + <munder> + <mtext>O</mtext> + <mtext>O</mtext> + </munder> + <mover> + <mtext>O</mtext> + <mtext>O</mtext> + </mover> + <munderover> + <mtext>O</mtext> + <mtext>O</mtext> + <mtext>O</mtext> + </munderover> + </mstyle> + </randomelement> + + </body> +</html> |