Bug 1343147 - Part 2. A crash test of painting elements with both perspective and transform in generate text mask for background-clip:text. r=mstange

MozReview-Commit-ID: 6KKo9ap2VZu

--HG--
extra : rebase_source : 8c780d6b95389f8b1ba76655c0562246a11b894d
extra : source : 42907ee02b4c09f29283c330389811df5c8a2570
This commit is contained in:
cku 2017-09-08 14:24:17 +08:00
parent 3997f2cb11
commit 30669a5437
2 changed files with 14 additions and 0 deletions

View File

@ -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>

After

Width:  |  Height:  |  Size: 258 B

View File

@ -90,6 +90,7 @@ 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