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

Side by Side Diff: LayoutTests/fast/css/linear-gradient-currentcolor2.html

Issue 767343003: Make currentColor keyword in linear-gradient work (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Resolve gradient colors later Created 6 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 <style>
3 html {
4 color: grey;
5 }
6 .currentColor {
7 background-image: linear-gradient(currentColor, currentColor);
8 height: 20px;
9 }
10 </style>
11 <div style="color: green">
12 <div class="currentColor">The color of the background should be <code>green</c ode></div>
13 </div>
14 <div style="color: blue">
15 <div class="currentColor">The color of the background should be <code>blue</co de></div>
16 </div>
17
18 <div style="color: green;">
19 <div style="color: yellow;">
20 <div class="currentColor">The color of the background should be <code>yellow </code></div>
21 </div>
22 <div class="currentColor">The color of the background should be <code>green</c ode></div>
23 </div>
24
25 <div class="currentColor" style="color: cyan;">The color of the background shoul d be <code>cyan</code></div>
26 <div class="currentColor">The color of the background should be <code>grey</code ></div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/linear-gradient-currentcolor2-expected.html » ('j') | Source/core/css/CSSGradientValue.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698