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

Side by Side Diff: LayoutTests/animations/interpolation/text-decoration-color-interpolation.html

Issue 746173002: Respect fallback colors when interpolating text-decoration-color. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/text-decoration-color-interpolation-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <style> 3 <style>
4 .target { 4 .target {
5 color: black; 5 color: black;
6 text-decoration-line: underline; 6 text-decoration-line: underline;
7 -webkit-text-fill-color: steelblue;
7 } 8 }
8 .replica { 9 .replica {
9 color: green; 10 color: green;
10 } 11 }
11 </style> 12 </style>
12 <body> 13 <body>
13 <template id="target-template"> 14 <template id="target-template">
14 <span class="target">TTT</span> 15 <span class="target">TTT</span>
15 </template> 16 </template>
16 <script src="resources/interpolation-test.js"></script> 17 <script src="resources/interpolation-test.js"></script>
17 <script> 18 <script>
18 assertInterpolation({ 19 assertInterpolation({
19 property: 'text-decoration-color', 20 property: 'text-decoration-color',
20 from: 'orange', 21 from: 'orange',
21 to: 'blue' 22 to: 'blue'
22 }, [ 23 }, [
23 {at: -5, is: '#ffff00'}, 24 {at: -5, is: '#ffff00'},
24 {at: -0.4, is: '#ffe700'}, 25 {at: -0.4, is: '#ffe700'},
25 {at: 0, is: 'orange'}, // ffa500 26 {at: 0, is: 'orange'}, // ffa500
26 {at: 0.2, is: '#cc8433'}, 27 {at: 0.2, is: '#cc8433'},
27 {at: 0.6, is: '#664299'}, 28 {at: 0.6, is: '#664299'},
28 {at: 1, is: 'blue'}, // 0000ff 29 {at: 1, is: 'blue'}, // 0000ff
29 {at: 1.5, is: 'blue'} 30 {at: 1.5, is: 'blue'}
30 ]); 31 ]);
32
33 assertInterpolation({
34 property: 'text-decoration-color',
35 from: 'initial',
36 to: 'red'
37 }, [
38 {at: -5, is: '#00ffff'},
39 {at: -0.4, is: '#00b6fc'},
40 {at: 0, is: 'steelblue'}, // 4682b4
41 {at: 0.2, is: '#6B6890'},
42 {at: 0.6, is: '#b53448'},
43 {at: 1, is: 'red'}, // ff0000
44 {at: 1.5, is: 'red'}
45 ]);
31 </script> 46 </script>
32 </body> 47 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/text-decoration-color-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698