layout/reftests/bugs/391909-1-ref.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 <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