summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-transform/text-transform-capitalize-032.xht
blob: 3a133933b0f0e5fe8aab6c89793d5f6efe8f7754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<!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">
	<head>
		<title>CSS Test: text-transform - capitalize - basic cases</title>
		<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
		<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" />
		<link rel="match" href="reference/text-transform-capitalize-032-ref.xht"/>
		<meta name="assert" content="The UA should put all words in titlecase when text-transform is set to capitalize." />
		<style type="text/css">
			<![CDATA[
				.test span {
					text-transform: capitalize;
				}
				/* the CSS below is not part of the test */
				span {
					color: Blue;
				}
			]]>
		</style>
	</head>
	<body>
		<p>
			Test passes if the first sentence matches the second one.
		</p>
		<div class="test">
			<span>All words should be put in titlecase.</span>
		</div>
		<div>
			<span>All Words Should Be Put In Titlecase.</span>
		</div>
	</body>
</html>