|
1 <!-- -*- mode: HTML; tab-width: 2; indent-tabs-mode: nil; -*- --> |
|
2 <!-- vim: set tabstop=2 expandtab shiftwidth=2 textwidth=80: --> |
|
3 <!DOCTYPE html> |
|
4 <html> |
|
5 <head> |
|
6 <title>mtable frame</title> |
|
7 <!-- Copyright (c) 2011 Design Science, Inc. |
|
8 License: Apache License 2.0 --> |
|
9 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
|
10 </head> |
|
11 |
|
12 <body> |
|
13 |
|
14 <!-- We assume there is a gap of more than 1px between dashes. Hence |
|
15 putting two dashed lines with only one pixel of difference in their |
|
16 horizontal coordinates should not render the same as one dashed line |
|
17 alone. The opposite is true for continuous line. |
|
18 The red squares allow to ignore the difference at the bounds --> |
|
19 |
|
20 <div style="position: absolute; top: 5px; left: 5px;"> |
|
21 <math> |
|
22 <mtable width="150px" rowlines="dashed"> |
|
23 <mtr> |
|
24 <mtd><mspace></mspace></mtd> |
|
25 </mtr> |
|
26 <mtr> |
|
27 <mtd><mspace></mspace></mtd> |
|
28 </mtr> |
|
29 </mtable> |
|
30 </math> |
|
31 </div> |
|
32 |
|
33 <div style="position: absolute; top: 5px; left: 6px;"> |
|
34 <math> |
|
35 <mtable width="150px" rowlines="dashed"> |
|
36 <mtr> |
|
37 <mtd><mspace></mspace></mtd> |
|
38 </mtr> |
|
39 <mtr> |
|
40 <mtd><mspace></mspace></mtd> |
|
41 </mtr> |
|
42 </mtable> |
|
43 </math> |
|
44 </div> |
|
45 |
|
46 <div style="position: absolute; top: 5px; left: 0px; |
|
47 width: 50px; height: 50px; background: red;"></div> |
|
48 |
|
49 <div style="position: absolute; top: 5px; left: 110px; |
|
50 width: 50px; height: 50px; background: red;"></div> |
|
51 |
|
52 </body> |
|
53 </html> |