Re: [svgwg] 'stop-color' property resolving with 'inherit' value

Since `stop-color` is not an "inherited property" (the "Inherited: no" in the spec section referenced), the value `green` from the `<g>` will not have any influence on the `<stop>` with stop-color="inherit"`, which instead will (explicitly) inherit it's value from the ancestor (`<linearGradient>`) which has the initial value (`black`). So it looks like Inkscape may have be incorrectly considering `stop-color`as being an inherited property.

See also the relevant spec: https://drafts.csswg.org/css-cascade/#inherited-property

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

Received on Sunday, 11 November 2018 22:35:11 UTC