Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-display/run-in/text-transform-applies-to-004.xht - WPT Dashboard Interop Dashboard
<!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 application to 'display: run-in' element</title>
<link rel="match" href="../../reference/pass_if_letter_uppercase.html" />
<meta name="assert" content="The 'text-transform' property is applied to 'display: run-in' elements." />
<style type="text/css">
div
{
display: run-in;
text-transform: capitalize;
}
</style>
</head>
<body>
<p>Test passes if the letter "F" in the words "Filler Text" below is in upper-case.</p>
<div>filler text</div>
</body>
</html>