layout/reftests/border-image/border-image-repeating-radial-gradient-slice-width-ref.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

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 border-image-width</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: 90px">
michael@0 13 <col style="width: 120px">
michael@0 14 <col style="width: 30px">
michael@0 15 <tr style="height: 15px">
michael@0 16 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 1800px 300px; background-position: 0px 0px;"></td>
michael@0 17 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 133.33px 300px; background-position: -6.67px 0px;"></td>
michael@0 18 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 600px 300px; background-position: -570px 0px;"></td>
michael@0 19 </tr>
michael@0 20 <tr style="height: 165px">
michael@0 21 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 1800px 183.33px; background-position: 0px -9.17px;"></td>
michael@0 22 <td style="background: white"></td>
michael@0 23 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 600px 183.33px; background-position: -570px -9.17px;"></td>
michael@0 24 </tr>
michael@0 25 <tr style="height: 60px">
michael@0 26 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 1800px 1200px; background-position: 0px -1140px;"></td>
michael@0 27 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 133.33px 1200px; background-position: -6.67px -1140px;"></td>
michael@0 28 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 600px 1200px; background-position: -570px -1140px;"></td>
michael@0 29 </tr>
michael@0 30 </table>
michael@0 31 <table>
michael@0 32 <col style="width: 90px">
michael@0 33 <col style="width: 120px">
michael@0 34 <col style="width: 30px">
michael@0 35 <tr style="height: 15px">
michael@0 36 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size:720px 120px; background-position: 0px 0px;"></td>
michael@0 37 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size:160px 120px; background-position: -20px 0px;"></td>
michael@0 38 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size:240px 120px; background-position: -210px 0px;"></td>
michael@0 39 </tr>
michael@0 40 <tr style="height: 165px">
michael@0 41 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size:720px 220px; background-position: 0px -27.5px;"></td>
michael@0 42 <td style="background: white"></td>
michael@0 43 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size:240px 220px; background-position: -210px -27.5px;"></td>
michael@0 44 </tr>
michael@0 45 <tr style="height: 60px">
michael@0 46 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size:720px 480px; background-position: 0px -420px;"></td>
michael@0 47 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size:160px 480px; background-position: -20px -420px;"></td>
michael@0 48 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size:240px 480px; background-position: -210px -420px;"></td>
michael@0 49 </tr>
michael@0 50 </table>
michael@0 51 <table>
michael@0 52 <col style="width: 90px">
michael@0 53 <col style="width: 120px">
michael@0 54 <col style="width: 30px">
michael@0 55 <tr style="height: 15px">
michael@0 56 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 360px 60px; background-position: 0px 0px;"></td>
michael@0 57 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 240px 60px; background-position: -60px 0px;"></td>
michael@0 58 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 120px 60px; background-position: -90px 0px;"></td>
michael@0 59 </tr>
michael@0 60 <tr style="height: 165px">
michael@0 61 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 360px 330px; background-position: 0px -82.5px;"></td>
michael@0 62 <td style="background: white"></td>
michael@0 63 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 120px 330px; background-position: -90px -82.5px;"></td>
michael@0 64 </tr>
michael@0 65 <tr style="height: 60px">
michael@0 66 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 360px 240px; background-position: 0px -180px;"></td>
michael@0 67 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 240px 240px; background-position: -60px -180px;"></td>
michael@0 68 <td style="background-image: repeating-radial-gradient(ellipse farthest-corner, red, blue 20%, red 40%); background-size: 120px 240px; background-position: -90px -180px;"></td>
michael@0 69 </tr>
michael@0 70 </table>
michael@0 71 </body>
michael@0 72 </html>

mercurial