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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/gradients/conic-gradient.html

Issue 2787113002: Initial conic-gradient() implementation (Closed)
Patch Set: baselines Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/gradients/conic-gradient-expected.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <style>
4 div {
5 width: 200px;
6 height: 200px;
7 border: 1px solid grey;
8 border-radius: 50%;
9 display: inline-block;
10 margin: 20px;
11 }
12
13 .conic1 {
14 background: conic-gradient(#f06, gold);
15 }
16
17 .conic2 {
18 background: conic-gradient(#eee .1turn, black, #eee 326deg);
19 }
20
21 .conic3 {
22 background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
23 }
24
25 .conic4 {
26 background: conic-gradient(yellowgreen 40%, gold 0, gold 70%, #f06 0);
27 }
28
29 .conic5 {
30 background: conic-gradient(black 25%, white 0, white 50%, black 0, black 75%, white 0);
31 background-size: 4em 4em;
32 }
33
34 .conic6 {
35 background:
36 conic-gradient(transparent 0%, transparent 10%, yellow 25%, transparent 40%, transparent 60%, yellow 75%, transparent 90%),
37 conic-gradient(white 0%, white 50%, black 50%);
38 }
39
40 </style>
41
42 <div class="conic1"></div>
43 <div class="conic2"></div>
44 <div class="conic3"></div>
45 <br>
46 <div class="conic4"></div>
47 <div class="conic5"></div>
48 <div class="conic6"></div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/gradients/conic-gradient-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698