summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-image/border-image-linear-gradient-ref.html
blob: cfe4252bd41c977471a20fc124e1a6665fb62e42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>test of border-image-source: linear-gradient</title>
<style>
table { margin: 0; padding: 0; border-spacing: 0; empty-cells: show; }
td { padding: 0; }
</style>
</head>
<body>
<table>
  <col style="width: 30px">
  <col style="width: 180px">
  <col style="width: 30px">
  <tr style="height: 30px">
    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:30px 30px;"></td>
    <td></td>
    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:30px 30px;"></td>
  </tr>
  <tr style="height: 180px">
    <td></td>
    <td style="background: white"></td>
    <td></td>
  </tr>
  <tr style="height: 30px">
    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:30px 30px;"></td>
    <td></td>
    <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:30px 30px;"></td>
  </tr>
</table>
</body>
</html>