-
Notifications
You must be signed in to change notification settings - Fork 3k
/
text-transform-uppercase-101.xht
33 lines (33 loc) · 1.15 KB
/
text-transform-uppercase-101.xht
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 - uppercase - basic cases</title>
<link rel="author" title="Satoshi Umehara" href="mailto:[email protected]" />
<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-uppercase-101-ref.xht"/>
<meta name="assert" content="The UA should put all characters in uppercase when text-transform is set to uppercase." />
<style type="text/css">
<![CDATA[
.test span {
text-transform: uppercase;
}
/* 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 characters should be put in uppercase.</span>
</div>
<div>
<span>ALL CHARACTERS SHOULD BE PUT IN UPPERCASE.</span>
</div>
</body>
</html>