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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

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

mercurial