text-transform-upperlower-106-ref.html (551B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text Test: text-transform uppercase Greek acute diaeresis iota and selection</title> 4 <link rel="author" href="mailto:xiaochengh@chromium.org"> 5 <style> 6 #target { 7 color: white; 8 background: red; 9 } 10 #target::selection { 11 background: green; 12 } 13 </style> 14 15 <p>The test passes if you see red below (by selecting the first letter only).</p> 16 17 <span id="target" lang="el">ΪΡ</span> 18 19 <script> 20 window.getSelection().setBaseAndExtent(target.firstChild, 0, target.firstChild, 2); 21 </script>