Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>CSS3 Text, text transform in textarea element: German sharp S, uppercase and selection</title>
<meta name="assert" content="text-transform: uppercase will uppercase the German sharp S to SS as described in Unicode's SpecialCasing.txt, and setting the selection to one source character in the DOM selection API selects both transformed characters">
<link rel='author' title='Martin Robinson' href='mailto:mrobinson@igalia.com'>
<link rel="match" href="reference/text-transform-upperlower-108-ref.html">
</head>
<body>
<p class="instructions">Test passes if both characters below are selected.</p>
<textarea id="textarea" style="text-transform: uppercase">&#x00DF;</textarea>
<script>
textarea.focus();
textarea.setSelectionRange(0, 1);
</script>
</body>
</html>