layout/reftests/text/wordwrap-04.html

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:8dc3efbba42a
1 <!DOCTYPE html>
2 <!-- Test setting 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 = "break-word";
12 }
13 </script>
14 </head>
15 <body onload="SwapStyle()">
16 <p id="pp" style="width: 100px; word-wrap: normal;">It's lipsmackinthirstquenchinacetastinmotivatingoodbuzzincooltalkinhighwalkinfastlivinevergivincoolfizzin Firefox!</p>
17 </body>
18 </html>

mercurial