4 div { border: solid; word-break:break-all; font-family:'Lucida Grande'; }
9 Tests for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=13438">http://bugs.webkit.org/show_bug.cgi?id=
13438</a>
10 Run rounding makes word-break:break-all/word not functional
</i>.
13 Test that the preferred (maximum) width is right:
15 <div style=
"float: left;">
16 The black border should fit tightly around this one line of text with no space after the period.
18 <br style=
"clear: both;">
20 Test that text does not wrap too early due to rounding errors:
22 <div style=
"width: 425px;">
23 This text fits nicely on a single line of the given width.
27 Test that text does not wrap too late:
29 <!-- Note skipped whitespace before the long word -->
30 <div style=
"width: 591px;">
31 J u s t a b u n c h o f l e t t e r s h e r e , n o t h i n g t o s e e . Thisisonebigwordwhichisverylong.