robert@webkit.org | 30a1420 | 2012-08-14 17:36:45 +0000 | [diff] [blame] | 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 | <meta name="assert" content="Word-spacing affects each space (U+0020) and non-breaking space (U+00A0)."> |
| 7 | <style type="text/css"> |
| 8 | div { |
| 9 | font: 12px Ahem; |
| 10 | width: 10em; |
| 11 | } |
| 12 | </style> |
| 13 | </head> |
| 14 | <body> |
| 15 | |
| 16 | <p>The spaces should trigger a line-break, and the last black box should break onto the next line.</p> |
| 17 | <div class="ws-pre"> |
| 18 | <p class="test"><span>1234567890 2</span></p> |
| 19 | </div> |
| 20 | |
| 21 | </body> |
| 22 | </html> |