Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <body> |
michael@0 | 4 | <table style="width: 6em; background: yellow"> |
michael@0 | 5 | <tr> |
michael@0 | 6 | <td id="big">mmmmmmmmmmmmmmmm</td> |
michael@0 | 7 | </tr> |
michael@0 | 8 | </table> |
michael@0 | 9 | <script> |
michael@0 | 10 | document.body.offsetWidth; |
michael@0 | 11 | var big = document.getElementById("big"); |
michael@0 | 12 | var r = big.firstChild.splitText(8); |
michael@0 | 13 | big.insertBefore(document.createElement("WBR"), r); |
michael@0 | 14 | </script> |
michael@0 | 15 | </body> |
michael@0 | 16 | </html> |