Re: [svgwg] Opacity properties should affect nothing but opacity

SVG 2 now supports the 
[z-index](https://svgwg.org/svg2-draft/render.html#ZIndexProperty) 
property from CSS. As with CSS, using this in conjunction with opacity
 can affect the rendering order. If an author does not explicitly set 
z-order to something other than the default, then opacity has no 
effect on the rendering order. So this is not a breaking change, and 
is not something that will confuse authors that don't use z-index.

The requirement to group together objects into layers that can be 
rendered once on the GPU and then re-used is for performance reasons, 
and is important. If a different behaviour was needed, then we would 
use a different property name for depth ordering (e.g. not z-index, 
because then the behaviour would be different to CSS). But I don't 
think the extra knowledge required to use z-index is that onerous.

-- 
GitHub Notification of comment by nikosandronikos
Please view or discuss this issue at 
https://github.com/w3c/svgwg/issues/264#issuecomment-246217044 using 
your GitHub account

Received on Monday, 12 September 2016 00:57:50 UTC