PolymerElements / iron-iconset-svg

Represents a source of icons expressed as a collection of inline SVGs
https://www.webcomponents.org/element/PolymerElements/iron-iconset-svg
37 stars 34 forks source link

check if svg.style exists before setting #75

Open morbidick opened 6 years ago

morbidick commented 6 years ago

In tor browsers high security settings the svg parser is disabled so declaring styles on the newly created svg element throws an error and breaks the whole application.

googlebot commented 6 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


morbidick commented 6 years ago

I signed it!

googlebot commented 6 years ago

CLAs look good, thanks!