Interesting, can you be more specific? Developed in Firefox, reports that Chrome is OK. I don't have a Mac to test with.
It has an extra comma at the end. Safari throws when passed to: c.setAttribute('points', points)
t = document.createElement("template")
t.innerHTML = `<style id="outside"></style><svg><style id="inside"></style></svg>`
t.content.querySelector("#outside").sheet // null
t.content.querySelector("#inside").sheet // undefined
That means that the .sheet property is present on the style element, but not if it is inside an svg element.https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleEle...
The fix that I suggested does seem to produce a working colour wheel, however.