518172-1a.html (761B)
1 <!DOCTYPE HTML> 2 <title>Testcase, bug 518172</title> 3 <style type="text/css"> 4 5 @font-face { 6 font-family: "MarkA"; 7 src: url(../fonts/markA.ttf); 8 } 9 10 html, body { margin: 0; padding: 0; } 11 body { font: 200px/200px MarkA; } 12 div#one { width: 200px; height:200px; padding: 100px; 13 transform: rotate(90deg); } 14 15 div.box { background: green; position: absolute; } 16 17 </style> 18 <div id="one">A</div> 19 20 <!-- draw green boxes slightly larger (2px extra) than the area that should 21 be covered by the font --> 22 <div class="box" style="top: 118px; left: 118px; width: 44px; height: 264px;"></div> 23 <div class="box" style="top: 158px; left: 178px; width: 44px; height: 184px;"></div> 24 <div class="box" style="top: 198px; left: 238px; width: 44px; height: 104px;"></div>