servo/tests/wpt/css-tests/css-text-3_dev/xhtml1/text-transform-uppercase-001.xht

33 lines
No EOL
1.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Test: text-transform - uppercase - 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-uppercase-001-ref.xht" />
<meta name="flags" content="" />
<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>