- From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
- Date: Mon, 12 Nov 2018 12:19:06 +0000
- To: public-svg-issues@w3.org
@RazrFalcon [`stop-color`](https://svgwg.org/svg2-draft/pservers.html#StopColorProperty) I **not** an inheritable property. The `inherit` _keyword_ loosely means "take the property value of the direct ancestor element". If the same property does not have a specified value, `stop-color` takes the **initial** value which is `black`. Inherited properties on the other hand, like `fill`, would not be set to the **initial value** right away. If not specified, it takes the value of its direct ancestor element's property. If that property isn't set either, it goes up the DOM hierarchy until a property that was specified was found. If the root element of the DOM is reached and the property still wasn't specified, only then the **initial** value is taken. All that is defined by CSS and not specific to SVG. See the link above. -- GitHub Notification of comment by dirkschulze Please view or discuss this issue at https://github.com/w3c/svgwg/issues/588#issuecomment-437858855 using your GitHub account
Received on Monday, 12 November 2018 12:19:08 UTC