layout/reftests/bugs/391909-1-ref.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 <!DOCTYPE html>
     2 <html>
     3  <body>
     4    <div id="source" style="width: 3ch"></div>
     5    <div id="target" style="width: 0">
     6     This is a test
     7    </div>
     8    <script>
     9     document.getElementById("target").style.lineHeight =
    10       document.defaultView
    11               .getComputedStyle(document.getElementById("source"), "").width;
    12    </script>
    13  </body>
    14 </html>

mercurial