summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/gradient-refcrash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-images/gradient-refcrash.html')
-rw-r--r--testing/web-platform/tests/css/css-images/gradient-refcrash.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-images/gradient-refcrash.html b/testing/web-platform/tests/css/css-images/gradient-refcrash.html
new file mode 100644
index 0000000000..ef0efc61e0
--- /dev/null
+++ b/testing/web-platform/tests/css/css-images/gradient-refcrash.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Does this gradient crash the browser?</title>
+<link rel="match" href="../reference/blank.html">
+<link rel="help" href="https://drafts.csswg.org/css-images-3/#color-stop-syntax">
+<meta name="assert" content="Gradients with total length zero and absolute positioned stops do not crash.">
+<style>
+ div {
+ background: linear-gradient(black 0,white);
+ }
+</style>
+<div></div>