Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: third_party/WebKit/LayoutTests/editing/caret/caret-color-014.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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <title>CSS Basic User Interface Test: caret-color links</title>
4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
5 <link rel="help" href="http://www.w3.org/TR/css3-ui/#caret-color">
6 <meta name="flags" content="interact">
7 <meta name="assert" content="Test checks that caret-color can be set on a conten teditable link">
8 <style>
9 a {
10 font-size: 3em;
11 font-weight: bold;
12 width: 10em;
13 padding: 10px;
14 background: black; /* the color of a thin object like the caret is easier to see on a black background. */
15
16 color: white;
17 caret-color: lime;
18 }
19 </style>
20 <body>
21 <p>Test passes if, when the link is focused for editing, the text insertion ca ret is green.</p>
22 <p>The shape of the caret, and whether it flashes, are not part of the test.</ p>
23 <a id="link" contenteditable href="#">link</a>
24 <script>
25 window.onload = function() {
26 document.getElementById("link").focus();
27 }
28 </script>
29 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698