4 <style type=
"text/css" media=
"screen">
5 body { overflow: hidden; }
11 border:
1px solid black;
12 background-repeat: no-repeat;
16 background-image: -webkit-linear-gradient(
0deg, white, black);
20 background-image: -webkit-linear-gradient(
90deg, white, black);
24 background-image: -webkit-linear-gradient(
180deg, white, black);
28 background-image: -webkit-linear-gradient(
270deg, white, black);
31 .gradientAngleMinus0 {
32 background-image: -webkit-linear-gradient(-
0deg, white, black);
35 .gradientAngleMinus90 {
36 background-image: -webkit-linear-gradient(-
90deg, white, black);
39 .gradientAngleMinus180 {
40 background-image: -webkit-linear-gradient(-
180deg, white, black);
43 .gradientAngleMinus270 {
44 background-image: -webkit-linear-gradient(-
270deg, white, black);
48 if (window
.testRunner
) {
49 testRunner
.dumpAsTextWithPixelResults();
54 <div class=
"box gradientAngle0"></div>
55 <div class=
"box gradientAngleMinus0"></div>
57 <div class=
"box gradientAngle90"></div>
58 <div class=
"box gradientAngleMinus270"></div>
60 <div class=
"box gradientAngle180"></div>
61 <div class=
"box gradientAngleMinus180"></div>
63 <div class=
"box gradientAngle270"></div>
64 <div class=
"box gradientAngleMinus90"></div>