Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/text-transform/text-transform-lowercase-101.xht - WPT Dashboard Interop Dashboard
<?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">
<head>
<title>CSS Test: text-transform - lowercase - 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-lowercase-101-ref.xht"/>
<meta name="assert" content="The UA should put all characters in lowercase when text-transform is set to lowercase." />
<style type="text/css">
<![CDATA[
.test span {
text-transform: lowercase;
}
/* 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 LOWERCASE.</span>
</div>
<div>
<span>all characters should be put in lowercase.</span>
</div>
</body>
</html>