OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 div { | 5 div { |
6 display: inline-block; | 6 display: inline-block; |
7 width: 200px; | 7 width: 200px; |
8 height: 100px; | 8 height: 100px; |
9 background-image: -webkit-repeating-linear-gradient(red 10%, green 10%, gr
een 30%); | 9 background-image: repeating-linear-gradient(red 10%, green 10%, green 30%)
; |
10 } | 10 } |
11 | 11 |
12 .ref { | 12 .ref { |
13 background-image: -webkit-repeating-linear-gradient(green 10%, green 30%); | 13 background-image: repeating-linear-gradient(green 10%, green 30%); |
14 } | 14 } |
15 </style> | 15 </style> |
16 <script type="text/javascript" charset="utf-8"> | 16 <script type="text/javascript" charset="utf-8"> |
17 if (window.testRunner) { | 17 if (window.testRunner) { |
18 testRunner.dumpAsTextWithPixelResults(); | 18 testRunner.dumpAsTextWithPixelResults(); |
19 } | 19 } |
20 </script> | 20 </script> |
21 </head> | 21 </head> |
22 <body> | 22 <body> |
23 | 23 |
24 <!-- You should see two green rectangles, with no red. --> | 24 <!-- You should see two green rectangles, with no red. --> |
25 <div></div> | 25 <div></div> |
26 <div class="ref"></div> | 26 <div class="ref"></div> |
27 | 27 |
28 </body> | 28 </body> |
29 </html> | 29 </html> |
OLD | NEW |