Bug 1404222 Part 9: Add a crashtest. draft
authorTing-Yu Lin <aethanyc@gmail.com>
Thu, 25 Jan 2018 15:01:08 +0800
changeset 762266 c42b56d5894e88e45f7146c2b7254cf32938a690
parent 762265 2275db9fafb482ee4d7872d2e1223e95a753f436
child 762267 ddc651fd7a12f52e1c1b3e0310bcebf96dcd912c
push id101114
push userbwerth@mozilla.com
push dateThu, 01 Mar 2018 23:33:31 +0000
bugs1404222
milestone60.0a1
Bug 1404222 Part 9: 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
layout/generic/crashtests/1404222-empty-shape.html
layout/generic/crashtests/crashtests.list
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