OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <style> | 5 <style> |
6 .box { | 6 .box { |
7 display: inline-block; | 7 display: inline-block; |
8 height: 120px; | 8 height: 120px; |
9 width: 400px; | 9 width: 400px; |
10 margin: 10px; | 10 margin: 10px; |
11 border: 1px solid black; | 11 border: 1px solid black; |
12 background-repeat: no-repeat; | 12 background-repeat: no-repeat; |
13 } | 13 } |
14 | 14 |
15 .linear1 { | 15 .linear1 { |
16 background-image: -webkit-repeating-linear-gradient(0deg, green 150px, blu
e 175px, blue 200px); | 16 background-image: repeating-linear-gradient(90deg, green 150px, blue 175px
, blue 200px); |
17 background-image: -moz-repeating-linear-gradient(0deg, green 150px, blue 1
75px, blue 200px); | |
18 } | 17 } |
19 </style> | 18 </style> |
20 <script> | 19 <script> |
21 if (window.testRunner) { | 20 if (window.testRunner) { |
22 testRunner.dumpAsTextWithPixelResults(); | 21 testRunner.dumpAsTextWithPixelResults(); |
23 } | 22 } |
24 </script> | 23 </script> |
25 </head> | 24 </head> |
26 <body> | 25 <body> |
27 | 26 |
28 <div class="linear1 box"></div> | 27 <div class="linear1 box"></div> |
29 | 28 |
30 </body> | 29 </body> |
31 </html> | 30 </html> |
OLD | NEW |