- From: Evgeniy Reizner via GitHub <sysbot+gh@w3.org>
- Date: Fri, 07 Dec 2018 13:17:23 +0000
- To: public-svg-issues@w3.org
RazrFalcon has just created a new issue for https://github.com/w3c/svgwg: == Mask on mask behavior == https://www.w3.org/TR/css-masking-1/#the-mask I'm trying to understand how `mask` element with a `mask` attribute/property should be rendered. I've made a simple example, but no matter what I do - it still renders the same in all applications. Looks like everyone is simply ignoring the `mask` property. Does no one support this or am I missing something? ```xml <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"> <linearGradient id="lg1"> <stop offset="0" stop-color="white" stop-opacity="0"/> <stop offset="1" stop-color="black"/> </linearGradient> <mask id="mask1"> <rect id="rect1" x="40" y="40" width="120" height="120" fill="black"/> </mask> <mask id="mask2" mask="url(#mask1)" maskUnits="userSpaceOnUse" x="0" y="0" width="200" height="200"> <rect id="rect1" x="20" y="20" width="160" height="160" fill="url(#lg1)" transform="rotate(90 100 100)"/> </mask> <rect id="rect2" x="20" y="20" width="160" height="160" fill="green" mask="url(#mask2)"/> <rect id="frame" x="1" y="1" width="198" height="198" fill="none" stroke="black"/> </svg> ``` ![e-mask-26](https://user-images.githubusercontent.com/725494/49649796-e27dbc80-fa32-11e8-9b0a-82b149c31023.png) Please view or discuss this issue at https://github.com/w3c/svgwg/issues/608 using your GitHub account
Received on Friday, 7 December 2018 13:17:24 UTC