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: white-space-collapsing - discard - basic cases</title>
5 <link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp">
6 <link rel="help" title="CSS Text Level 3: 4.1. White Space Collapsing: the ‘white-space-collapsing’ property" href="http://www.w3.org/TR/css-text-3/#white-space-collapsing">
7 <link rel="match" href="reference/white-space-collapsing-discard-001-ref.htm">
8 <meta name="flags" content="">
9 <meta name="assert" content="The UA should discard all white space in the element when white-space-collapsing is set to discard.">
10 <style type="text/css">
11
12 .test span {
13 white-space-collapsing: discard;
14 }
15 /* the CSS below is not part of the test */
16 span {
17 color: Blue;
18 }
19
20 </style>
21 </head>
22 <body>
23 <p>
24 Test passes if the first sentence matches the second one.
25 </p>
26 <div class="test">
27 <span>All White Space In The Element Should Be Discarded.</span>
28 </div>
29 <div class="control">
30 <span>AllWhiteSpaceInTheElementShouldBeDiscarded.</span>
31 </div>
32 </body>
33 </html>