Hacker News new | ask | show | jobs
by rwg 4290 days ago
It's partially broken in Safari 7.0.6 for the same reason — the ellipse method isn't a WebKit-ism, it's a WHATWG-ism that Google's implemented: http://www.whatwg.org/specs/web-apps/current-work/multipage/...

A quick workaround is to run the following in the error console:

    ctx.ellipse = function (x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise) { ctx.arc(x, y, Math.max(radiusX, radiusY), rotation, startAngle, endAngle, anticlockwise); }