11 border:
1px solid black;
12 background-repeat: no-repeat;
16 background-image: radial-gradient(ellipse closest-corner, white, black);
20 background-image: radial-gradient(circle closest-side at
50px
50%, white, black);
24 background-image: radial-gradient(ellipse closest-corner at
20px
50px, white, black);
28 background-image: radial-gradient(circle closest-corner at
20%
20%, white, black);
32 background-image: radial-gradient(circle farthest-corner, red, green, blue);
36 background-image: radial-gradient(circle farthest-corner at left, red, green
30%, blue
100%);
40 background-image: radial-gradient(ellipse farthest-corner, red, green
80px, blue);
44 background-image: radial-gradient(circle farthest-corner, red
20%, green, blue
150%);
48 background-image: radial-gradient(circle closest-corner at
20%
20%, red -
50%, green, blue
150%);
53 if (window
.testRunner
) {
54 testRunner
.dumpAsTextWithPixelResults();
60 <div class=
"gradient1 box"></div>
61 <div class=
"gradient2 box"></div>
62 <div class=
"gradient3 box"></div>
64 <div class=
"gradient4 box"></div>
65 <div class=
"gradient5 box"></div>
66 <div class=
"gradient6 box"></div>
68 <div class=
"gradient7 box"></div>
69 <div class=
"gradient8 box"></div>
70 <div class=
"gradient9 box"></div>