summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/text/white-space-pre-007.xht
blob: c71d772faebc9bb0b39aae56e66bb28a31058d48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <!-- See also http://www.hixie.ch/tests/adhoc/css/text/word-spacing/001.html -->
 <head>
  <title>CSS Test: white-space and word-spacing</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/text/white-space/pre/007.html" type="text/html"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#white-space-model" />
  <style type="text/css">
    p { word-spacing: 0.1em; white-space: pre; }
  </style>
 </head>
 <body>
  <p>There should be two lines below.</p>
  <p>This test has:
PASSED</p>
 </body>
</html>