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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/border-image/border-image-linear-gradient-slice-width-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,72 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html lang="en-US">
     1.6 +<head>
     1.7 +<title>test of border-image-source: linear-gradient with border-image-slice and border-image-width</title>
     1.8 +<style>
     1.9 +table { margin: 0; padding: 0; border-spacing: 0; empty-cells: show; }
    1.10 +td { padding: 0; }
    1.11 +</style>
    1.12 +</head>
    1.13 +<body>
    1.14 +<table>
    1.15 +  <col style="width: 90px">
    1.16 +  <col style="width: 120px">
    1.17 +  <col style="width: 30px">
    1.18 +  <tr style="height: 15px">
    1.19 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 1800px 300px; background-position: 0px 0px;"></td>
    1.20 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 133.33px 300px; background-position: -6.67px 0px;"></td>
    1.21 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 300px; background-position: -570px 0px;"></td>
    1.22 +  </tr>
    1.23 +  <tr style="height: 165px">
    1.24 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 1800px 183.33px; background-position: 0px -9.17px;"></td>
    1.25 +    <td style="background: white"></td>
    1.26 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 183.33px; background-position: -570px -9.17px;"></td>
    1.27 +  </tr>
    1.28 +  <tr style="height: 60px">
    1.29 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 1800px 1200px; background-position: 0px -1140px;"></td>
    1.30 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 133.33px 1200px; background-position: -6.67px -1140px;"></td>
    1.31 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 1200px; background-position: -570px -1140px;"></td>
    1.32 +  </tr>
    1.33 +</table>
    1.34 +<table>
    1.35 +  <col style="width: 90px">
    1.36 +  <col style="width: 120px">
    1.37 +  <col style="width: 30px">
    1.38 +  <tr style="height: 15px">
    1.39 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:720px 120px; background-position: 0px 0px;"></td>
    1.40 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:160px 120px; background-position: -20px 0px;"></td>
    1.41 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 120px; background-position: -210px 0px;"></td>
    1.42 +  </tr>
    1.43 +  <tr style="height: 165px">
    1.44 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:720px 220px; background-position: 0px -27.5px;"></td>
    1.45 +    <td style="background: white"></td>
    1.46 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 220px; background-position: -210px -27.5px;"></td>
    1.47 +  </tr>
    1.48 +  <tr style="height: 60px">
    1.49 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:720px 480px; background-position: 0px -420px;"></td>
    1.50 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:160px 480px; background-position: -20px -420px;"></td>
    1.51 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 480px; background-position: -210px -420px;"></td>
    1.52 +  </tr>
    1.53 +</table>
    1.54 +<table>
    1.55 +  <col style="width: 90px">
    1.56 +  <col style="width: 120px">
    1.57 +  <col style="width: 30px">
    1.58 +  <tr style="height: 15px">
    1.59 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 360px 60px; background-position: 0px 0px;"></td>
    1.60 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 240px 60px; background-position: -60px 0px;"></td>
    1.61 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 60px; background-position: -90px 0px;"></td>
    1.62 +  </tr>
    1.63 +  <tr style="height: 165px">
    1.64 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 360px 330px; background-position: 0px -82.5px;"></td>
    1.65 +    <td style="background: white"></td>
    1.66 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 330px; background-position: -90px -82.5px;"></td>
    1.67 +  </tr>
    1.68 +  <tr style="height: 60px">
    1.69 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 360px 240px; background-position: 0px -180px;"></td>
    1.70 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 240px 240px; background-position: -60px -180px;"></td>
    1.71 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 240px; background-position: -90px -180px;"></td>
    1.72 +  </tr>
    1.73 +</table>
    1.74 +</body>
    1.75 +</html>

mercurial