зеркало из https://github.com/mozilla/pjs.git
151 строка
3.9 KiB
HTML
151 строка
3.9 KiB
HTML
<?xml version="1.0" encoding="us-ascii"?>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="content-type"
|
|
content="application/xhtml+xml; charset=us-ascii" />
|
|
<title>Test mstyle</title>
|
|
<style type="text/css">
|
|
table { width: 100%; border-collapse: collapse; }
|
|
td { border: solid black 1px; }
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>mpadded: width</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<!-- mpadded does not use attributes of mstyle -->
|
|
<mstyle width="1em">
|
|
<mtext>_</mtext>
|
|
<mpadded/>
|
|
<mtext>_</mtext>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mpadded: lspace</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<!-- mpadded does not use attributes of mstyle -->
|
|
<mstyle lspace="1em">
|
|
<mtext>_</mtext>
|
|
<mpadded/>
|
|
<mtext>_</mtext>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mpadded: height</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<!-- mpadded does not use attributes of mstyle -->
|
|
<mstyle height="1em">
|
|
<msup>
|
|
<mrow>
|
|
<mtext>_</mtext>
|
|
<mpadded/>
|
|
<mtext>_</mtext>
|
|
</mrow>
|
|
<mtext>_</mtext>
|
|
</msup>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mpadded: depth</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<!-- mpadded does not use attributes of mstyle -->
|
|
<mstyle depth="1em">
|
|
<msub>
|
|
<mrow>
|
|
<mtext>_</mtext>
|
|
<mpadded/>
|
|
<mtext>_</mtext>
|
|
</mrow>
|
|
<mtext>_</mtext>
|
|
</msub>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mspace: width</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mstyle width="1em">
|
|
<mtext>_</mtext>
|
|
<mspace/>
|
|
<mtext>_</mtext>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mspace: height</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mstyle height="1em">
|
|
<msup>
|
|
<mrow>
|
|
<mtext>_</mtext>
|
|
<mspace/>
|
|
<mtext>_</mtext>
|
|
</mrow>
|
|
<mtext>_</mtext>
|
|
</msup>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mspace: depth</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mstyle depth="1em">
|
|
<msub>
|
|
<mrow>
|
|
<mtext>_</mtext>
|
|
<mspace/>
|
|
<mtext>_</mtext>
|
|
</mrow>
|
|
<mtext>_</mtext>
|
|
</msub>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<!-- maction actiontype cannot be set on mstyle -->
|
|
<tr>
|
|
<td>maction: selection</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<mstyle selection="2">
|
|
<maction actiontype="toggle">
|
|
<mn>1</mn>
|
|
<mn>2</mn>
|
|
</maction>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
<tr>
|
|
<td>mtable: align</td>
|
|
<td><math xmlns="http://www.w3.org/1998/Math/MathML">
|
|
<!-- attribute align on mstyle does not apply to mtable -->
|
|
<mstyle align="baseline">
|
|
<mrow>
|
|
<mtext>_</mtext>
|
|
<mtable>
|
|
<mtr>
|
|
<mtd>
|
|
<mtext>―</mtext>
|
|
</mtd>
|
|
</mtr>
|
|
<mtr>
|
|
<mtd>
|
|
<mtext>―</mtext>
|
|
</mtd>
|
|
</mtr>
|
|
</mtable>
|
|
<mtext>_</mtext>
|
|
</mrow>
|
|
</mstyle>
|
|
</math></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
</html>
|