Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Side by Side Diff: third_party/WebKit/LayoutTests/editing/caret/caret-color-007.html

Issue 2520873002: [css-ui] Add support for caret-color property (Closed)
Patch Set: Patch for landing applying suggested changes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <title>CSS Basic User Interface Test: caret-color: currentColor</title>
4 <link rel="author" title="Chris Lilley" href="">
5 <link rel="author" title="Florian Rivoal" href="">
6 <link rel="help" href="">
7 <link rel="help" href="" >
8 <meta name="flags" content="interact">
9 <meta name="assert" content="Test checks that caret-color:currentColor is inheri ted as currentColor and resolves to the value of the color property at used valu e time">
10 <style>
11 textarea {
12 font-size: 3em;
13 font-weight: bold;
14 width: 10em;
15 padding: 10px;
16 background: black; /* the color of a thin object like the caret is easier to see on a black background. */
18 color: lime;
19 }
20 div {
21 caret-color: currentcolor;
22 color: red;
23 }
24 </style>
25 <body>
26 <p>Test passes if, when the text area below is focused for editing, the text i nsertion caret is green</p>
27 <p>The shape of the caret, and whether it flashes, are not part of the test.</ p>
28 <div>
29 <textarea autofocus></textarea>
30 </div>
31 </body>

Powered by Google App Engine
This is Rietveld 408576698