summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-image/border-image-linear-gradient-width-ref.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/border-image/border-image-linear-gradient-width-ref.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/layout/reftests/border-image/border-image-linear-gradient-width-ref.html b/layout/reftests/border-image/border-image-linear-gradient-width-ref.html
new file mode 100644
index 0000000000..dfa38d967b
--- /dev/null
+++ b/layout/reftests/border-image/border-image-linear-gradient-width-ref.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html lang="en-US">
+<head>
+<title>test of border-image-source: linear-gradient with border-image-width</title>
+<style>
+table { margin: 0; padding: 0; border-spacing: 0; empty-cells: show; }
+td { padding: 0; }
+</style>
+</head>
+<body>
+<table>
+ <col style="width: 90px">
+ <col style="width: 120px">
+ <col style="width: 30px">
+ <tr style="height: 15px">
+ <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:90px 15px;"></td>
+ <td></td>
+ <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:30px 15px;"></td>
+ </tr>
+ <tr style="height: 165px">
+ <td></td>
+ <td style="background: white"></td>
+ <td></td>
+ </tr>
+ <tr style="height: 60px">
+ <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:90px 60px;"></td>
+ <td></td>
+ <td style="background-image: linear-gradient(to bottom right, red, blue); background-size:30px 60px;"></td>
+ </tr>
+</table>
+</body>
+</html>