cursor-text-002-manual.html (930B)
1 <!DOCTYPE html> 2 <title>CSS Basic User Interface Test: cursor:text with rotated text</title> 3 <link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net"> 4 <link rel="help" href="http://www.w3.org/TR/css3-ui/#cursor"> 5 <link rel="help" href="http://www.w3.org/TR/css3-transforms/#two-d-transform-functions"> 6 <meta name="flags" content="interact may"> 7 <meta charset="UTF-8"> 8 <meta name="assert" content="User agents may automatically display any angle of I-beam/cursor for text that is rendered at any particular angle"> 9 <style> 10 div { 11 cursor: text; 12 color: blue; 13 transform: rotate(45deg); 14 transform-origin: bottom left; 15 } 16 p { 17 cursor: text; 18 } 19 </style> 20 <body> 21 <p>The test passes if, when moved over the blue rotated text, the cursor that indicates text that may be selected is rotated to match the angle of the text.</p> 22 <p>Disregard this test if there is no rotated text.</p> 23 <div>Lorem ipsum</div> 24 </body>