3 div { margin:
4px; width:
300px; background: lightyellow; word-wrap: break-word; float: left; }
8 Test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=13156">http://bugs.webkit.org/show_bug.cgi?id=
13156</a>
9 REGRESSION (r19621): Pasting breakable content where wrapped line is too long to fit in a textarea fails to draw a horizontal scrollbar
</i>.
12 This tests that a line break will occur in the middle of the first word on a line if it
’s too long to fit on the line. The behavior is tested after breakable characters (question mark and hyphen), after a space and after a soft hyphen.
15 The following blocks should be identical.
18 Curabiturpretium,quamquiss?empermalesuada,estliberofeugiatlibero,velfringillaorcinibhsedneque-Quisqueeunullanonnisimolestieaccumsan.Etiamtellusurna,laoreetac,laoreetnon suscipitsed,sapien.Phasellusvehicula,sematposuerevehicula,auguenibhmolestienisl
­necullamcorperlacusantevulputatepede.Nasceturridiculusmus.
21 Curabiturpretium,quamquiss?
<br>
22 empermalesuada,estliberofeugiatlibero,velfringi
<br>
23 llaorcinibhsedneque-
<br>
24 Quisqueeunullanonnisimolestieaccumsan.Etiam
<br>
25 tellusurna,laoreetac,laoreetnon
<br>
26 suscipitsed,sapien.Phasellusvehicula,sematposu
<br>
27 erevehicula,auguenibhmolestienisl-
<br>
28 necullamcorperlacusantevulputatepede.Nascetu
<br>