layout/reftests/border-image/border-image-repeating-linear-gradient-slice-fill-2-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: linear-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: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 120px 600px; background-position: 0px 0px;"></td>
michael@0 17 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 360px 600px; background-position: -90px 0px;"></td>
michael@0 18 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 120px 600px; background-position: -90px 0px;"></td>
michael@0 19 </tr>
michael@0 20 <tr style="height: 180px">
michael@0 21 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 120px 200px; background-position: 0px -10px;"></td>
michael@0 22 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 360px 200px; background-position: -90px -10px;"></td>
michael@0 23 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 120px 200px; background-position: -210px -10px;"></td>
michael@0 24 </tr>
michael@0 25 <tr style="height: 30px">
michael@0 26 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 120px 600px; background-position: 0px -570px;"></td>
michael@0 27 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 360px 600px; background-position: -90px -570px;"></td>
michael@0 28 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 120px 600px; background-position: -90px -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: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 600px 120px; background-position: 0px 0px;"></td>
michael@0 37 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 200px 120px; background-position: -10px 0px;"></td>
michael@0 38 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 600px 120px; background-position: -570px 0px;"></td>
michael@0 39 </tr>
michael@0 40 <tr style="height: 180px">
michael@0 41 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 600px 360px; background-position: 0px -90px;"></td>
michael@0 42 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 200px 360px; background-position: -10px -90px;"></td>
michael@0 43 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 600px 360px; background-position: -570px -90px;"></td>
michael@0 44 </tr>
michael@0 45 <tr style="height: 30px">
michael@0 46 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 600px 120px; background-position: 0px -90px;"></td>
michael@0 47 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 200px 120px; background-position: -10px -210px;"></td>
michael@0 48 <td style="background-image: repeating-linear-gradient(to bottom right, red, blue 10%, red 20%); background-size: 600px 120px; background-position: -570px -90px;"></td>
michael@0 49 </tr>
michael@0 50 </table>
michael@0 51 </body>
michael@0 52 </html>

mercurial