- From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
- Date: Sat, 08 Dec 2018 18:34:23 +0000
- To: public-fxtf-archive@w3.org
dirkschulze has just created a new issue for https://github.com/w3c/fxtf-drafts: == [css-masking-1] Mask on mask behavior == Moved from https://github.com/w3c/svgwg/issues/608, opened by @RazrFalcon https://www.w3.org/TR/css-masking-1/#the-mask I'm trying to understand how a `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 it 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/fxtf-drafts/issues/328 using your GitHub account
Received on Saturday, 8 December 2018 18:34:25 UTC