Bug 1343147 - Part 2. A crash test of painting elements with both perspective and transform in generate text mask for background-clip:text. draft
authorcku <cku@mozilla.com>
Fri, 08 Sep 2017 14:24:17 +0800
changeset 675251 6a23fbdb6554a5e5298475d7edcd9b7f52e098d0
parent 675250 f91c227087b2521f929e0a06908e6c4809866a66
child 734555 99507699618090e823c6ebbfee9a4d89acd239a9
push id83080
push userbmo:cku@mozilla.com
push dateThu, 05 Oct 2017 02:23:09 +0000
bugs1343147
milestone58.0a1
Bug 1343147 - Part 2. A crash test of painting elements with both perspective and transform in generate text mask for background-clip:text. MozReview-Commit-ID: 6KKo9ap2VZu
dom/svg/crashtests/1343147.svg
dom/svg/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/svg/crashtests/1343147.svg
@@ -0,0 +1,13 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+<style>
+<![CDATA[
+  svg {
+    background-image: linear-gradient(lime, lime);
+    background-clip: text;
+  }
+  text { transform: skewy(30grad); }
+  g { perspective: 0; }
+]]>
+</style>
+  <g><text>hello</text></g>
+</svg>
--- a/dom/svg/crashtests/crashtests.list
+++ b/dom/svg/crashtests/crashtests.list
@@ -85,12 +85,13 @@ load 1322286.html
 load 1329849-1.svg
 load 1329849-2.svg
 load 1329849-3.svg
 load 1329849-4.svg
 load 1329849-5.svg
 load 1329849-6.svg
 load 1329093-1.html
 load 1329093-2.html
+load 1343147.svg
 load 1347617-1.svg
 load 1347617-2.svg
 load 1347617-3.svg
 load 1402798.html