layout/reftests/bugs/518172-1a.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/518172-1a.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     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 +
    1.18 +div.box { background: green; position: absolute; }
    1.19 +
    1.20 +</style>
    1.21 +<div id="one">A</div>
    1.22 +
    1.23 +<!-- draw green boxes slightly larger (2px extra) than the area that should
    1.24 +     be covered by the font -->
    1.25 +<div class="box" style="top: 118px; left: 118px; width: 44px; height: 264px;"></div>
    1.26 +<div class="box" style="top: 158px; left: 178px; width: 44px; height: 184px;"></div>
    1.27 +<div class="box" style="top: 198px; left: 238px; width: 44px; height: 104px;"></div>

mercurial