- From: Peter Mouland <peter.mouland@gmail.com>
- Date: Tue, 21 Nov 2017 09:36:20 +0000
- To: www-svg@w3.org
- Message-ID: <CAF0N6RUzvdQBnF422YigGacjUobqnnZ=GaxHX2Jupcm2fzU4mA@mail.gmail.com>
Hi, Ref: https://github.com/w3c/svgwg/issues/367 I have been giving this contact address after raising bugs with a number of browser developers and getting their feedback. The issues I raised with them was concerning a browser incompatibility which I found when trying to style 're-used' SVG elements. I was informed, that the technique I was attempting did not work on Firefox as they follow the SVG 2 spec. After raising the issue with Chrome, I was hoping they could set Mozilla straight. Unfortunately, Firefox is correct and a new issue was created to update Chrome to the same spec. Although the technique currently works in Chrome and a number of other browsers, when they update, the styling will fail. I have recently raised the issue on GitHub ( https://github.com/w3c/svgwg/issues/367) and go into more detail, with CodePen examples, demonstrating what I was trying to achieve. I'm not sure is this breaking change was intended, or an unfortunate side-effect, either way, I just want to style my inline-svg's with as little duplicate code as possible! I hope you are able to follow my ramblings and either update the spec to allow re-used SVG's to have custom styling applied, or perhaps document another solution to this problem. Thanks for your time, Pete
Received on Tuesday, 21 November 2017 09:45:47 UTC