gecko/layout/reftests/mathml/dir-1.html

62 lines
1.7 KiB
HTML
Raw Normal View History

<!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>