Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / word-spacing-linebreak.html
blob3c8157c85599b719a583c86acab7db36ef781fb0
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: word-spacing and line-break</title>
5 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props">
6 <style type="text/css">
7 div {
8 font: 12px Ahem;
9 width: 14em;
11 .test span {
12 word-spacing: 1em;
14 .ws-pre p {
15 white-space: pre-wrap;
17 </style>
18 </head>
19 <body>
21 <p>The spaces should trigger a line-break, and the last black box should break onto the next line.</p>
22 <div class="ws-pre">
23 <p class="test"><span>1234567890 2</span></p>
24 </div>
26 </body>
27 </html>