summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-image/border-image-linear-gradient-width.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/border-image/border-image-linear-gradient-width.html')
-rw-r--r--layout/reftests/border-image/border-image-linear-gradient-width.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/border-image/border-image-linear-gradient-width.html b/layout/reftests/border-image/border-image-linear-gradient-width.html
new file mode 100644
index 000000000..8be90efaa
--- /dev/null
+++ b/layout/reftests/border-image/border-image-linear-gradient-width.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html lang="en-US">
+<head>
+<title>test of border-image-source: linear-gradient with border-image-width</title>
+<style>
+div.border {
+ border: 30px solid black;
+ border-image: linear-gradient(to bottom right, red, blue);
+ border-image-width: 0.5 1 2 3;
+ width: 180px;
+ height: 180px;
+}
+</style>
+</head>
+<body>
+<div class="border"></div>
+</body>
+</html>