layout/reftests/border-image/border-image-linear-gradient-slice-1-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-1-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</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: 30px">
    1.16 +  <col style="width: 180px">
    1.17 +  <col style="width: 30px">
    1.18 +  <tr style="height: 30px">
    1.19 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 600px; background-position: 0px 0px;"></td>
    1.20 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 200px 600px; background-position: -10px 0px;"></td>
    1.21 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 600px; background-position: -570px 0px;"></td>
    1.22 +  </tr>
    1.23 +  <tr style="height: 180px">
    1.24 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 200px; background-position: 0px -10px;"></td>
    1.25 +    <td style="background: white"></td>
    1.26 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 200px; background-position: -570px -10px;"></td>
    1.27 +  </tr>
    1.28 +  <tr style="height: 30px">
    1.29 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 600px; background-position: 0px -570px;"></td>
    1.30 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 200px 600px; background-position: -10px -570px;"></td>
    1.31 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600px 600px; background-position: -570px -570px;"></td>
    1.32 +  </tr>
    1.33 +</table>
    1.34 +<table>
    1.35 +  <col style="width: 30px">
    1.36 +  <col style="width: 180px">
    1.37 +  <col style="width: 30px">
    1.38 +  <tr style="height: 30px">
    1.39 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: 0px 0px;"></td>
    1.40 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: -30px 0px;"></td>
    1.41 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: -210px 0px;"></td>
    1.42 +  </tr>
    1.43 +  <tr style="height: 180px">
    1.44 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: 0px -30px;"></td>
    1.45 +    <td style="background: white"></td>
    1.46 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: -210px -30px;"></td>
    1.47 +  </tr>
    1.48 +  <tr style="height: 30px">
    1.49 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: 0px -210px;"></td>
    1.50 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: -30px -210px;"></td>
    1.51 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: -210px -210px;"></td>
    1.52 +  </tr>
    1.53 +</table>
    1.54 +<table>
    1.55 +  <col style="width: 30px">
    1.56 +  <col style="width: 180px">
    1.57 +  <col style="width: 30px">
    1.58 +  <tr style="height: 30px">
    1.59 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 120px; background-position: 0px 0px;"></td>
    1.60 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 360px 120px; background-position: -90px 0px;"></td>
    1.61 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 120px; background-position: -90px 0px;"></td>
    1.62 +  </tr>
    1.63 +  <tr style="height: 180px">
    1.64 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 360px; background-position: 0px -90px;"></td>
    1.65 +    <td style="background: white"></td>
    1.66 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 360px; background-position: -90px -90px;"></td>
    1.67 +  </tr>
    1.68 +  <tr style="height: 30px">
    1.69 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 120px; background-position: 0px -90px;"></td>
    1.70 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 360px 120px; background-position: -90px -90px;"></td>
    1.71 +    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 120px 120px; background-position: -90px -90px;"></td>
    1.72 +  </tr>
    1.73 +</table>
    1.74 +</body>
    1.75 +</html>

mercurial