- From: Yevhenii Reizner via GitHub <sysbot+gh@w3.org>
- Date: Fri, 03 Dec 2021 17:53:48 +0000
- To: public-svg-issues@w3.org
RazrFalcon has just created a new issue for https://github.com/w3c/svgwg: == Looking for a more detailed explanation of the `isolation` property == https://drafts.fxtf.org/compositing-1/#isolation I'm trying to implement this property in [my library](https://github.com/RazrFalcon/resvg), but I'm having troubles understanding what `isolation` actually suppose to do. The spec only skims over it without much explanation or examples. Based on my experiments, it seems like this property simply forces a new "layer"/_stacking context_ creation during rendering. Is it correct? For example, a dummy group will be ignored by renderer. So the SVG below will be rendered just as `<rect/>`. ```xml <g> <rect/> </g> ``` But in this case: ```xml <g opacity="0.5"> <rect/> </g> ``` a group cannot be skipped and will lead to a new "layer" creation. Do I understand correctly, that `isolation:isolate` would prevent a rendered to skip a group in the first example? Please view or discuss this issue at https://github.com/w3c/svgwg/issues/871 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 3 December 2021 17:53:49 UTC