gecko-dev/layout/reftests/mathml/mo-lspace-rspace-2-ref.html

380 строки
9.5 KiB
HTML
Исходник Обычный вид История

<!DOCTYPE html>
<html>
<head>
<title>mo-lspace-rspace</title>
<style type="text/css">
mo,td {
background-color: red;
}
msub, mfrac, msup, msubsup, mmultiscripts,
mover, munder, munderover, mpadded, merror
{
background-color: blue
}
math[display]
{
background-color: blue
}
</style>
</head>
<body>
<p>
No lspace or rspace added:
</p>
<p>
<math>
<mrow>
<mo lspace="0" rspace="0">%</mo>
</mrow>
</math>
<math>
<mfrac>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</mfrac>
</math>
<math>
<msqrt>
<mo lspace="0" rspace="0">%</mo>
</msqrt>
</math>
<math>
<mroot>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</mroot>
</math>
<math>
<mstyle>
<mo lspace="0" rspace="0">%</mo>
</mstyle>
</math>
</p>
<p>
<table>
<tr>
<td>
<math>
<mphantom>
<mo lspace="0" rspace="0">%</mo>
</mphantom>
</math>
</td>
</tr>
</table>
</p>
<p>
<math>
<menclose notation="circle">
<mo lspace="0" rspace="0">%</mo>
</menclose>
</math>
<math>
<msub>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</msub>
</math>
<math>
<msup>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</msup>
</math>
<math>
<msubsup>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</msubsup>
</math>
<math>
<munder>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</munder>
</math>
<math>
<mover>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</mover>
</math>
<math>
<munderover>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</munderover>
</math>
</p>
<p>
<math>
<mmultiscripts>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
<mprescripts/>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</mmultiscripts>
</math>
<math>
<mtable>
<mtr>
<mtd>
<mo lspace="0" rspace="0">%</mo>
</mtd>
</mtr>
</mtable>
</math>
<math>
<mo lspace="0" rspace="0">%</mo>
</math>
<math>
<msub>
<mrow>
<mo lspace="0" rspace="0">%</mo>
</mrow>
<mo lspace="0" rspace="0">%</mo>
</msub>
</math>
</p>
<p>
<math>
<msub>
<msub>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</msub>
<mo lspace="0" rspace="0">%</mo>
</msub>
</math>
<math>
<munder>
<munder>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</munder>
<mo lspace="0" rspace="0">%</mo>
</munder>
</math>
<math>
<mfrac>
<mfrac>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</mfrac>
<mo lspace="0" rspace="0">%</mo>
</mfrac>
</math>
</p>
<p>
<math>
<menclose notation="circle">
<mo lspace="0" rspace="0">%</mo>
</menclose>
<menclose notation="circle">
<mo lspace="0" rspace="0">%</mo>
</menclose>
<mroot>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</mroot>
</math>
<math>
<mpadded height="+1em">
<mo lspace="0" rspace="0">%</mo>
</mpadded>
</math>
<math>
<merror>
<mo lspace="0" rspace="0">%</mo>
</merror>
</math>
</p>
<math display="block">
<mo lspace="0" rspace="0">%</mo>
</math>
<p>
lspace and rspace rendered as appropriate
</p>
<p>
<math>
<mrow>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</mrow>
<mfrac>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="0" rspace="0">%</mo>
</mfrac>
<msqrt>
<mo lspace="0" rspace="0">%</mo>
</msqrt>
<mstyle>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</mstyle>
</math>
</p>
<p>
<table>
<tr>
<td>
<math>
<mphantom>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</mphantom>
</math>
</td>
</tr>
</table>
</p>
<p>
<math>
<mfenced>
<!-- always treated as in an mrow with > 1 child -->
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</mfenced>
</math>
<math>
<mfenced>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</mfenced>
<menclose notation="circle">
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</menclose>
<msub>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="0" rspace="0">%</mo>
</msub>
<msup>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="0" rspace="0">%</mo>
</msup>
<msubsup>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</msubsup>
<munder>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="0" rspace="0">%</mo>
</munder>
<mover>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="0" rspace="0">%</mo>
</mover>
<munderover>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</munderover>
</math>
</p>
<p>
<math>
<mmultiscripts>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
<mprescripts/>
<mo lspace="0" rspace="0">%</mo>
<mo lspace="0" rspace="0">%</mo>
</mmultiscripts>
<mtable>
<mtr>
<mtd>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</mtd>
</mtr>
</mtable>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<msub>
<mrow>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</mrow>
<mo lspace="0" rspace="0">%</mo>
</msub>
<msub>
<mrow>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</mrow>
<mo lspace="0" rspace="0">%</mo>
</msub>
</math>
</p>
<p>
<math>
<msub>
<msub>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="0" rspace="0">%</mo>
</msub>
<mo lspace="0" rspace="0">%</mo>
</msub>
<munder>
<munder>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="0" rspace="0">%</mo>
</munder>
<mo lspace="0" rspace="0">%</mo>
</munder>
<mfrac>
<mfrac>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="0" rspace="0">%</mo>
</mfrac>
<mo lspace="0" rspace="0">%</mo>
</mfrac>
</math>
</p>
<p>
<math>
<mrow>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mpadded height="+1em">
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</mpadded>
</mrow>
</math>
<math>
<mpadded height="+1em">
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</mpadded>
</math>
<math>
<merror>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</merror>
</math>
</p>
<math display="block">
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
<mo lspace="thinmathspace" rspace="thinmathspace">%</mo>
</math>
</body>
</html>