1<html>
2 <head>
3 <title>table align axis</title>
4 <meta charset="utf-8">
5 <style type="text/css">
6 /* For Latin Modern Math
7 AxisHeight = 7000 * 5 / 1000 = 35px;
8 */
9 @font-face {
10 font-family: axisheight;
11 src: url("axisheight7000.woff");
12 }
13 math {
14 font-family: axisheight;
15 font-size: 5px;
16 }
17 </style>
18 </head>
19 <body>
20
21 <!-- This test passes if the red bar is hidden by the green bar -->
22 <div style="position: absolute; left: 0px; top: 0px;">
23 <math>
24 <mspace height="100px" depth="100px" width="1px"/>
25 <mtable>
26 <mtr><mtd><mspace width="50px"/></mtd></mtr>
27 <mtr><mtd><mspace mathbackground="red" width="50px" height="1px" depth="1px"/></mtd></mtr>
28 <mtr><mtd><mspace width="50px"/></mtd></mtr>
29 </mfrac>
30 </math>
31 </div>
32
33 <!-- This green bar is moved up by AxisHeight and is a bit thicker than the red bar to tolerate rounding errors. -->
34 <div style="position: absolute; left: 0px; top: -35px;">
35 <math>
36 <mspace height="100px" depth="100px" width="1px" mathbackground="black"/>
37 <mspace width="100px" height="2px" depth="2px" mathbackground="green"/>
38 </math>
39 </div>
40
41 </body>
42</html>