| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| <html> |
| <head> |
| <title>CSS Test: word-spacing and line-break</title> |
| <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props"> |
| <meta name="assert" content="Word-spacing affects each space (U+0020) and non-breaking space (U+00A0)."> |
| <style type="text/css"> |
| div { |
| font: 12px Ahem; |
| width: 10em; |
| } |
| </style> |
| </head> |
| <body> |
| |
| <p>The spaces should trigger a line-break, and the last black box should break onto the next line.</p> |
| <div class="ws-pre"> |
| <p class="test"><span>1234567890 2</span></p> |
| </div> |
| |
| </body> |
| </html> |