Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / midword-break-after-breakable-char.html
blob58a39f3d2deb6bb76dc3fa3012a63af607ab2471
1 <head>
2 <style>
3 div { margin: 4px; width: 300px; background: lightyellow; word-wrap: break-word; float: left; }
4 </style>
5 </head>
6 <body>
7 <p>
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>.
10 </p>
11 <p>
12 This tests that a line break will occur in the middle of the first word on a line if it&rsquo;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.
13 </p>
14 <p>
15 The following blocks should be identical.
16 </p>
17 <div>
18 Curabiturpretium,quamquiss?empermalesuada,estliberofeugiatlibero,velfringillaorcinibhsedneque-Quisqueeunullanonnisimolestieaccumsan.Etiamtellusurna,laoreetac,laoreetnon suscipitsed,sapien.Phasellusvehicula,sematposuerevehicula,auguenibhmolestienisl&shy;necullamcorperlacusantevulputatepede.Nasceturridiculusmus.
19 </div>
20 <div>
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>
29 rridiculusmus.
30 </div>
31 </body>