gecko/layout/reftests/mathml/dir-1.html
2011-12-21 17:21:59 -05:00

62 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html>
<head><title>Test dir=rtl</title></head>
<body>
<p>
math:
<math dir="rtl">
<mspace width="25px" height="25px" mathbackground="red"/>
<mspace width="25px" height="25px" mathbackground="green"/>
<mspace width="25px" height="25px" mathbackground="blue"/>
</math>
</p>
<p>
mrow:
<math>
<mrow dir="rtl">
<mspace width="25px" height="25px" mathbackground="red"/>
<mspace width="25px" height="25px" mathbackground="green"/>
<mspace width="25px" height="25px" mathbackground="blue"/>
</mrow>
</math>
</p>
<p>
mstyle:
<math>
<mstyle dir="rtl">
<mspace width="25px" height="25px" mathbackground="red"/>
<mspace width="25px" height="25px" mathbackground="green"/>
<mspace width="25px" height="25px" mathbackground="blue"/>
</mstyle>
</math>
</p>
<p>
mpadded lspace="25px" width="150px":
<math dir="rtl">
<mspace width="1px" height="25px" mathbackground="black"/>
<mpadded lspace="25px" width="150px">
<mspace width="25px" height="25px" mathbackground="red"/>
<mspace width="25px" height="25px" mathbackground="green"/>
<mspace width="25px" height="25px" mathbackground="blue"/>
</mpadded>
<mspace width="1px" height="25px" mathbackground="black"/>
</math>
</p>
<p>
mfenced open="A" close="D" separators="BC":
<math dir="rtl">
<mfenced open="A" close="D" separators="BC">
<mtext>a</mtext>
<mtext>b</mtext>
<mtext>c</mtext>
</mfenced>
</math>
</p>
</body>
</html>