- From: ExE Boss via GitHub <sysbot+gh@w3.org>
- Date: Thu, 05 Oct 2017 23:59:32 +0000
- To: public-svg-issues@w3.org
ExE-Boss has just created a new issue for https://github.com/w3c/svgwg: == Allow setting the SVG context properties when in an HTML <img> tag == Right now, there is no standard way to set the `fill` and `stroke` properties of an SVG inside an HTML <img> tag. The SVG 2 specification has context properties (`context-fill` and `context-stroke`) that are set to the `fill` and `stroke` properties of the rendering context. The rendering context is currently only set when the SVG is imported into another SVG using the SVG <use> tag. Mozilla Firefox currently has the non-standard vendor prefixed [`-moz-context-properties`](https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-context-properties) CSS property to do this, but other browsers don’t currently have any suitable equivalent. For inter-operability with other browsers and to make it possible to control the `fill` and `stroke` SVG properties when the SVG is in an <img> tag, I request that something to do this be added to the specification. Please view or discuss this issue at https://github.com/w3c/svgwg/issues/348 using your GitHub account
Received on Thursday, 5 October 2017 23:59:20 UTC