{"action":"opened","issue":{"url":"https://api.github.com/repos/canvg/canvg/issues/508","repository_url":"https://api.github.com/repos/canvg/canvg","labels_url":"https://api.github.com/repos/canvg/canvg/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/canvg/canvg/issues/508/comments","events_url":"https://api.github.com/repos/canvg/canvg/issues/508/events","html_url":"https://github.com/canvg/canvg/issues/508","id":200701025,"number":508,"title":"Getting an error rendering SVG with fill-opacity defined in style","user":{"login":"frank-rollpin","id":13769034,"avatar_url":"https://avatars.githubusercontent.com/u/13769034?v=3","gravatar_id":"","url":"https://api.github.com/users/frank-rollpin","html_url":"https://github.com/frank-rollpin","followers_url":"https://api.github.com/users/frank-rollpin/followers","following_url":"https://api.github.com/users/frank-rollpin/following{/other_user}","gists_url":"https://api.github.com/users/frank-rollpin/gists{/gist_id}","starred_url":"https://api.github.com/users/frank-rollpin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frank-rollpin/subscriptions","organizations_url":"https://api.github.com/users/frank-rollpin/orgs","repos_url":"https://api.github.com/users/frank-rollpin/repos","events_url":"https://api.github.com/users/frank-rollpin/events{/privacy}","received_events_url":"https://api.github.com/users/frank-rollpin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-13T18:44:16Z","updated_at":"2017-01-13T18:44:16Z","closed_at":null,"body":"canvg fails to render the following SVG (note that it works if we remove 'fill-opacity:0' parameter):\r\n```\r\n<svg viewBox=\"0 0 400 400\"> <g>\r\n    <ellipse style=\"fill: none; fill-opacity:0; stroke-width: 1.6; stroke: #000000\" cx=\"150\" cy=\"150\" rx=\"150\" ry=\"150\"></ellipse>\r\n</g></svg>\r\n```\r\nStack trace:\r\n```\r\nUncaught TypeError: t is not a constructor\r\n    at r.Property.addOpacity (canvg.min.js:1)\r\n    at r.Element.ellipse.setContext (canvg.min.js:1)\r\n    at r.Element.ellipse.render (canvg.min.js:1)\r\n    at r.Element.g.renderChildren (canvg.min.js:1)\r\n    at r.Element.g.render (canvg.min.js:1)\r\n    at r.Element.svg.renderChildren (canvg.min.js:1)\r\n    at r.Element.svg.render (canvg.min.js:1)\r\n    at a (canvg.min.js:2)\r\n    at Object.r.loadXmlDoc (canvg.min.js:2)\r\n    at Object.r.loadXml (canvg.min.js:2)\r\n```\r\n"}}
{"actor":{"display_login":"frank-rollpin"}}