1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/mathml/mpadded-5-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,44 @@ 1.4 +<html> 1.5 + <head> 1.6 + <title>Test mpadded</title> 1.7 + <style type="text/css"> 1.8 + div#square1 { 1.9 + position:absolute; 1.10 + width: 20px; 1.11 + height: 20px; 1.12 + left: -25px; 1.13 + top: 25px; 1.14 + background: red; 1.15 + } 1.16 + div#square2 { 1.17 + position: absolute; 1.18 + width: 100px; 1.19 + height: 100px; 1.20 + left: 40px; 1.21 + top:30px; 1.22 + background: blue; 1.23 + } 1.24 + 1.25 + div#square3 { 1.26 + position:absolute; 1.27 + width: 200px; 1.28 + height: 200px; 1.29 + background: green; 1.30 + } 1.31 + /* left = lspace = -25; 1.32 + top = HeightBig - HeightSmall - voffsetSmall 1.33 + = 50 - 10 - 15 = 25px */ 1.34 + /* left = lsapce = 40px; 1.35 + top = HeightVeryBig - HeightBig - voffsetBig 1.36 + = 100 - 50 - 20 = 30px */ 1.37 + </style> 1.38 + </head> 1.39 + <body> 1.40 + <div id="square3"> 1.41 + <div id="square2"> 1.42 + <div id="square1"> 1.43 + </div> 1.44 + </div> 1.45 + </div> 1.46 + </body> 1.47 +<html>