| 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: -webkit-repeating-linear-gradient(0deg, green 150px, blu
e 175px, blue 200px); |
| 17 background-image: -moz-repeating-linear-gradient(0deg, green 150px, blue 1
75px, blue 200px); | 17 background-image: -moz-repeating-linear-gradient(0deg, green 150px, blue 1
75px, blue 200px); |
| 18 } | 18 } |
| 19 </style> | 19 </style> |
| 20 <script> | 20 <script> |
| 21 if (window.testRunner) { | 21 if (window.testRunner) { |
| 22 var dumpPixels = true; | 22 testRunner.dumpAsTextWithPixelResults(); |
| 23 testRunner.dumpAsText(dumpPixels); | |
| 24 } | 23 } |
| 25 </script> | 24 </script> |
| 26 </head> | 25 </head> |
| 27 <body> | 26 <body> |
| 28 | 27 |
| 29 <div class="linear1 box"></div> | 28 <div class="linear1 box"></div> |
| 30 | 29 |
| 31 </body> | 30 </body> |
| 32 </html> | 31 </html> |
| OLD | NEW |