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: 200px; | 8 height: 200px; |
9 width: 250px; | 9 width: 250px; |
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 .gradient1 { | 15 .gradient1 { |
16 background-image: radial-gradient(50% 50% at center, black, white); | 16 background-image: radial-gradient(50% 50% at center, black, white); |
17 } | 17 } |
18 | 18 |
19 /* Should have the 3rd white ring touching both edges. */ | 19 /* Should have the 3rd white ring touching both edges. */ |
20 .gradient2 { | 20 .gradient2 { |
21 background-image: repeating-radial-gradient(20% 20% at center, black, whit
e, black); | 21 background-image: repeating-radial-gradient(20% 20% at center, black, whit
e, black); |
22 } | 22 } |
23 | 23 |
24 </style> | 24 </style> |
25 <script> | 25 <script> |
26 if (window.testRunner) { | 26 if (window.testRunner) { |
27 var dumpPixels = true; | 27 testRunner.dumpAsTextWithPixelResults(); |
28 testRunner.dumpAsText(dumpPixels); | |
29 } | 28 } |
30 </script> | 29 </script> |
31 </head> | 30 </head> |
32 <body> | 31 <body> |
33 | 32 |
34 <div class="gradient1 box"></div> | 33 <div class="gradient1 box"></div> |
35 <div class="gradient2 box"></div> | 34 <div class="gradient2 box"></div> |
36 | 35 |
37 </body> | 36 </body> |
38 </html> | 37 </html> |
OLD | NEW |