OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> |
| 3 <title>CSS Basic User Interface Test: caret-color</title> |
| 4 <link rel="author" title="Chris Lilley" href="mailto:chris@w3.org"> |
| 5 <link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net"> |
| 6 <link rel="help" href="http://www.w3.org/TR/css3-ui/#caret-color"> |
| 7 <meta name="flags" content="interact"> |
| 8 <meta name="assert" content="Test checks that caret-color can be set on a textar
ea"> |
| 9 <style> |
| 10 textarea { |
| 11 font-size: 3em; |
| 12 font-weight: bold; |
| 13 width: 10em; |
| 14 padding: 10px; |
| 15 background: black; color: white; /* the color of a thin object like the care
t is easier to see on a black background. */ |
| 16 |
| 17 caret-color: lime; |
| 18 } |
| 19 </style> |
| 20 <body> |
| 21 <p>Test passes if, when the text area below is focused for editing, the text i
nsertion caret is green.</p> |
| 22 <p>The shape of the caret, and whether it flashes, are not part of the test.</
p> |
| 23 <textarea autofocus></textarea> |
| 24 </body> |
OLD | NEW |