Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html lang="en-US"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>test of border-image-source: radial-gradient with border-image-slice and fill</title> |
michael@0 | 5 | <style> |
michael@0 | 6 | table { margin: 0; padding: 0; border-spacing: 0; empty-cells: show; } |
michael@0 | 7 | td { padding: 0; } |
michael@0 | 8 | </style> |
michael@0 | 9 | </head> |
michael@0 | 10 | <body> |
michael@0 | 11 | <table> |
michael@0 | 12 | <col style="width: 30px"> |
michael@0 | 13 | <col style="width: 180px"> |
michael@0 | 14 | <col style="width: 30px"> |
michael@0 | 15 | <tr style="height: 30px"> |
michael@0 | 16 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 600px 600px; background-position: 0px 0px;"></td> |
michael@0 | 17 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 200px 600px; background-position: -10px 0px;"></td> |
michael@0 | 18 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 600px 600px; background-position: -570px 0px;"></td> |
michael@0 | 19 | </tr> |
michael@0 | 20 | <tr style="height: 180px"> |
michael@0 | 21 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 600px 200px; background-position: 0px -10px;"></td> |
michael@0 | 22 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 200px 200px; background-position: -10px -10px;"></td> |
michael@0 | 23 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 600px 200px; background-position: -570px -10px;"></td> |
michael@0 | 24 | </tr> |
michael@0 | 25 | <tr style="height: 30px"> |
michael@0 | 26 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 600px 600px; background-position: 0px -570px;"></td> |
michael@0 | 27 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 200px 600px; background-position: -10px -570px;"></td> |
michael@0 | 28 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 600px 600px; background-position: -570px -570px;"></td> |
michael@0 | 29 | </tr> |
michael@0 | 30 | </table> |
michael@0 | 31 | <table> |
michael@0 | 32 | <col style="width: 30px"> |
michael@0 | 33 | <col style="width: 180px"> |
michael@0 | 34 | <col style="width: 30px"> |
michael@0 | 35 | <tr style="height: 30px"> |
michael@0 | 36 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size:240px 240px; background-position: 0px 0px;"></td> |
michael@0 | 37 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size:240px 240px; background-position: -30px 0px;"></td> |
michael@0 | 38 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size:240px 240px; background-position: -210px 0px;"></td> |
michael@0 | 39 | </tr> |
michael@0 | 40 | <tr style="height: 180px"> |
michael@0 | 41 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size:240px 240px; background-position: 0px -30px;"></td> |
michael@0 | 42 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size:240px 240px; background-position: -30px -30px;"></td> |
michael@0 | 43 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size:240px 240px; background-position: -210px -30px;"></td> |
michael@0 | 44 | </tr> |
michael@0 | 45 | <tr style="height: 30px"> |
michael@0 | 46 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size:240px 240px; background-position: 0px -210px;"></td> |
michael@0 | 47 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size:240px 240px; background-position: -30px -210px;"></td> |
michael@0 | 48 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size:240px 240px; background-position: -210px -210px;"></td> |
michael@0 | 49 | </tr> |
michael@0 | 50 | </table> |
michael@0 | 51 | <table> |
michael@0 | 52 | <col style="width: 30px"> |
michael@0 | 53 | <col style="width: 180px"> |
michael@0 | 54 | <col style="width: 30px"> |
michael@0 | 55 | <tr style="height: 30px"> |
michael@0 | 56 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 120px 120px; background-position: 0px 0px;"></td> |
michael@0 | 57 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 360px 120px; background-position: -90px 0px;"></td> |
michael@0 | 58 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 120px 120px; background-position: -90px 0px;"></td> |
michael@0 | 59 | </tr> |
michael@0 | 60 | <tr style="height: 180px"> |
michael@0 | 61 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 120px 360px; background-position: 0px -90px;"></td> |
michael@0 | 62 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 360px 360px; background-position: -90px -90px;"></td> |
michael@0 | 63 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 120px 360px; background-position: -210px -90px;"></td> |
michael@0 | 64 | </tr> |
michael@0 | 65 | <tr style="height: 30px"> |
michael@0 | 66 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 120px 120px; background-position: 0px -90px;"></td> |
michael@0 | 67 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 360px 120px; background-position: -90px -210px;"></td> |
michael@0 | 68 | <td style="background-image: radial-gradient(ellipse 100% 50% at 50% 50%, blue 0%, red 100%); background-size: 120px 120px; background-position: -90px -90px;"></td> |
michael@0 | 69 | </tr> |
michael@0 | 70 | </table> |
michael@0 | 71 | </body> |
michael@0 | 72 | </html> |