layout/reftests/bugs/495385-1a.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 <!-- Test that changes to 'white-space' create frames when necessary -->
     4 <head>
     5 <script>
     6 function loaded() {
     7   document.body.offsetHeight;
     8   document.getElementById('d1').style.whiteSpace = 'pre';
     9   document.getElementById('d2').style.whiteSpace = 'pre-wrap';
    10   document.getElementById('d3').style.whiteSpace = 'pre-line';
    11 }
    12 </script>
    13 </head>
    14 <body onload="loaded()" style="border:1px solid black;">
    15   <div id="d1">  <span>Hello</span>  </div>
    16   <div id="d2">  <span>Hello</span>  </div>
    17   <div id="d3">
    18   <span>Hello</span>
    19   </div>
    20 </body>
    21 </html>

mercurial