Rich-Harris / pancake

Experimental charting library for Svelte
MIT License
1.29k stars 61 forks source link

SvgScatterplot/SvgPoint doesn't work in Safari #9

Closed Rich-Harris closed 4 years ago

Rich-Harris commented 4 years ago

Given the consistent behaviour between Chrome and Firefox...

Screen Shot 2020-03-02 at 16 34 40

...I'm going to go ahead and call this a Safari bug:

Screen Shot 2020-03-02 at 16 34 57

For whatever reason, it's not respecting the stroke width on the points with zero dimensions.

Rich-Harris commented 4 years ago

Changing the path do anything other than a zero-length string seems to fix it. Presumably Safari is attempting to apply some optimisation, and tripping over itself.

https://svelte.dev/repl/f4616d21743b42ea9b9550da60516df7?version=3.19.1

Rich-Harris commented 4 years ago

Filed a bug with Webkit: https://bugs.webkit.org/show_bug.cgi?id=208475

Rich-Harris commented 4 years ago

Fixed in 0.0.12