layout/reftests/text/wordwrap-05.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 <!-- Test unsetting word-wrap: break-word dynamically -->
     3 <html>
     4  <head>
     5   <meta http-equiv="content-type" content="text/html; charset=UTF-8">
     6   <title>Test Wordwrap</title>
     7   <script type="text/javascript">
     8 function SwapStyle()
     9 {
    10   par = document.getElementById("pp");
    11   par.style.wordWrap = "normal";
    12 }
    13   </script>
    14  </head>
    15  <body onload="SwapStyle()">
    16   <p id="pp" style="width: 100px; word-wrap: break-word;">It's lipsmackinthirstquenchinacetastinmotivatingoodbuzzincooltalkinhighwalkinfastlivinevergivincoolfizzin Firefox!</p>
    17  </body>
    18 </html>

mercurial