Bug 1404222 Part 6: Add a crashtest.
The browser should not crash if there's no width and height set on the div
with linear-gradient.
MozReview-Commit-ID: 2DbfpV7JT2m
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/1404222-empty-shape.html
@@ -0,0 +1,2 @@
+<!DOCTYPE html>
+<div style="float: left; shape-outside: linear-gradient(to top, green 50%, transparent 50%);"></div>
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -669,14 +669,15 @@ load 1367413-1.html
load 1368617-1.html
load 1373586.html
load 1375858.html
load 1381134.html
load 1381134-2.html
load 1401420-1.html
load 1401709.html
load 1401807.html
+load 1404222-empty-shape.html
load 1405443.html
load 1415185.html
load 1416544.html
load 1427824.html
load 1431781.html
load 1431781-2.html