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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/composition/caret-color-composition.html

Issue 2537373005: [css-ui] Make caret-color animatable (Closed)
Patch Set: Patch for landing adding TODO Created 3 years, 12 months 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 <style>
4 .target {
5 display: inline-block;
6 font-size: 60pt;
7 color: rgb(50, 50, 50);
8 }
9 .expected {
10 margin-right: 15px;
11 }
12 </style>
13 <body contenteditable>
14 <template id="target-template">T</template>
15 <script src="../interpolation/resources/interpolation-test.js"></script>
16 <script>
17 assertComposition({
18 property: 'caret-color',
19 underlying: 'rgb(50, 50, 50)',
20 addFrom: 'rgb(100, 100, 100)',
21 addTo: 'rgb(200, 200, 200)',
22 }, [
23 {at: -0.3, is: 'rgb(120, 120, 120)'},
24 {at: 0, is: 'rgb(150, 150, 150)'},
25 {at: 0.5, is: 'rgb(200, 200, 200)'},
26 {at: 1, is: 'rgb(250, 250, 250)'},
27 {at: 1.5, is: 'rgb(255, 255, 255)'},
28 ]);
29
30 assertComposition({
31 property: 'caret-color',
32 underlying: 'auto',
33 addFrom: 'rgb(100, 100, 100)',
34 addTo: 'rgb(200, 200, 200)',
35 }, [
36 {at: -0.3, is: 'rgb(120, 120, 120)'},
37 {at: 0, is: 'rgb(150, 150, 150)'},
38 {at: 0.5, is: 'rgb(200, 200, 200)'},
39 {at: 1, is: 'rgb(250, 250, 250)'},
40 {at: 1.5, is: 'rgb(255, 255, 255)'},
41 ]);
42 </script>
43 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698