1 <!DOCTYPE html>
2 <html><head><title>CSS Basic User Interface Test: cursor:text with rotated text</title>
3 <link href="mailto:florian@rivoal.net" rel="author" title="Florian Rivoal">
4 <link href="http://www.w3.org/TR/css3-ui/#cursor" rel="help">
5 <link href="http://www.w3.org/TR/css3-transforms/#two-d-transform-functions" rel="help">
6 <meta content="interact may" name="flags">
7 <meta charset="UTF-8">
8 <meta content="User agents may automatically display any angle of I-beam/cursor for text that is rendered at any particular angle" name="assert">
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 </head><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
25 </body></html>