comparison: layout/reftests/mathml/mpadded-2-ref.html
layout/reftests/mathml/mpadded-2-ref.html
- branch
- TOR_BUG_9701
- changeset 10
- ac0c01689b40
equal
deleted
inserted
replaced
|
1 <html> |
|
2 <head> |
|
3 <title>Test mpadded</title> |
|
4 <style type="text/css"> |
|
5 div#square1 { |
|
6 position: absolute; |
|
7 width: 100px; |
|
8 height: 100px; |
|
9 background: blue; |
|
10 } |
|
11 |
|
12 div#square2 { |
|
13 position:absolute; |
|
14 width: 20px; |
|
15 height: 20px; |
|
16 left: 10px; |
|
17 top: 55px; |
|
18 background: red; |
|
19 } |
|
20 /* left = lspace = 10; |
|
21 top = heightBig - heightSmall - voffset; |
|
22 top = 50 - 10 + 15 = 55px */ |
|
23 </style> |
|
24 </head> |
|
25 <body> |
|
26 <div id="square1"> |
|
27 <div id="square2"> |
|
28 </div> |
|
29 </div> |
|
30 </body> |
|
31 <html> |