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: text-transform - capitalize - 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: 3.1. Transforming Text: the ‘text-transform’ property" href="http://www.w3.org/TR/css-text-3/#text-transform">
7 <link rel="match" href="reference/text-transform-capitalize-032-ref.htm">
8 <meta name="flags" content="">
9 <meta name="assert" content="The UA should put all words in titlecase when text-transform is set to capitalize.">
10 <style type="text/css">
11
12 .test span {
13 text-transform: capitalize;
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 words should be put in titlecase.</span>
28 </div>
29 <div>
30 <span>All Words Should Be Put In Titlecase.</span>
31 </div>
32 </body>
33 </html>