1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/518172-2a.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<title>Testcase, bug 518172</title> 1.6 +<style type="text/css"> 1.7 + 1.8 +@font-face { 1.9 + font-family: "MarkA"; 1.10 + src: url(../fonts/markA.ttf); 1.11 +} 1.12 + 1.13 +html, body { margin: 0; padding: 0; } 1.14 +body { font: 200px/200px MarkA; } 1.15 +div#one { width: 200px; height:200px; padding: 100px; 1.16 + -moz-transform: rotate(90deg); } 1.17 +div#two { color: transparent; } 1.18 + 1.19 +div.box { background: green; position: absolute; } 1.20 + 1.21 +</style> 1.22 +<div id="one">A</div><div id="two">A</div> 1.23 + 1.24 +<!-- draw green boxes slightly larger (2px extra) than the area that should 1.25 + be covered by the font --> 1.26 +<div class="box" style="top: 118px; left: 118px; width: 44px; height: 264px;"></div> 1.27 +<div class="box" style="top: 158px; left: 178px; width: 44px; height: 184px;"></div> 1.28 +<div class="box" style="top: 198px; left: 238px; width: 44px; height: 104px;"></div>