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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <html>
     2 <head>
     3 <style>
     4 /* explicitly load a font that supports the "fi" ligature */
     5 @font-face {
     6   font-family: test;
     7   src: url(../fonts/mplus/mplus-1p-regular.ttf);
     8 }
     9 body {
    10   font-family: test, serif;
    11   padding: 20px;
    12 }
    13 </style>
    14 <script>
    15 function m()
    16 {
    17   document.body.offsetHeight;
    18   var div = document.getElementById("div");
    19   div.appendChild(document.createTextNode("i"));
    20 }
    21 </script>
    22 </head>
    24 <body onload="m();">
    25 <div id="div" style="font-size: 40px"><span>if</span></div>
    26 </body>
    27 </html>

mercurial