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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/518172-1b.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: red; position: absolute; }
    1.19 +
    1.20 +</style>
    1.21 +<!-- draw red boxes slightly larger (2px extra) than the area that should
    1.22 +     be covered by the font -->
    1.23 +<div class="box" style="top: 122px; left: 122px; width: 36px; height: 256px;"></div>
    1.24 +<div class="box" style="top: 162px; left: 182px; width: 36px; height: 176px;"></div>
    1.25 +<div class="box" style="top: 202px; left: 242px; width: 36px; height: 96px;"></div>
    1.26 +
    1.27 +<div id="one">A</div>

mercurial