Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / gradients / css3-linear-angle-gradients.html
blobf5937640ed664eaa01ecaec9e4be77e697d35f6b
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style type="text/css" media="screen">
6 .box {
7 display: inline-block;
8 height: 120px;
9 width: 200px;
10 margin: 10px;
11 border: 1px solid black;
12 background-repeat: no-repeat;
15 .linear1 {
16 background-image: -webkit-linear-gradient(white, black);
17 background-image: -moz-linear-gradient(white, black);
20 .linear2 {
21 background-image: -webkit-linear-gradient(top left, white, black);
22 background-image: -moz-linear-gradient(top left, white, black);
25 .linear3 {
26 background-image: -webkit-linear-gradient(45deg, white, black);
27 background-image: -moz-linear-gradient(45deg, white, black);
30 .linear4 {
31 background-image: -webkit-linear-gradient(-45deg, white, black);
32 background-image: -moz-linear-gradient(-45deg, white, black);
35 .linear5 {
36 background-image: -webkit-linear-gradient(540deg, white, black);
37 background-image: -moz-linear-gradient(540deg, white, black);
40 .linear6 {
41 background-image: -webkit-linear-gradient(top left, white -20%, black 120%);
42 background-image: -moz-linear-gradient(top left, white -20%, black 120%);
45 .linear7 {
46 background-image: -webkit-linear-gradient(top left, white -20px, black 120px);
47 background-image: -moz-linear-gradient(top left, white -20px, black 120px);
50 .linear8 {
51 background-image: -webkit-linear-gradient(top left, white -20%, blue, black 120%);
52 background-image: -moz-linear-gradient(top left, white -20%, blue, black 120%);
55 .linear9 {
56 background-image: -webkit-linear-gradient(0deg, white -20%, blue, black 120%);
57 background-image: -moz-linear-gradient(0deg, white -20%, blue, black 120%);
59 </style>
60 <script type="text/javascript" charset="utf-8">
61 if (window.testRunner) {
62 testRunner.dumpAsTextWithPixelResults();
64 </script>
65 </head>
66 <body>
68 <div class="linear1 box"></div>
69 <div class="linear2 box"></div>
70 <div class="linear3 box"></div>
71 <br>
72 <div class="linear4 box"></div>
73 <div class="linear5 box"></div>
74 <div class="linear6 box"></div>
75 <br>
76 <div class="linear7 box"></div>
77 <div class="linear8 box"></div>
78 <div class="linear9 box"></div>
80 </body>
81 </html>