Comment 2 for bug 1686551

Revision history for this message
Jacek (Hyacinth) Stypuła (js-ubuntuone) wrote :

This is caused by a new "feature" in Chrome, see https://www.chromestatus.com/feature/5736166087196672

A simple workaround is to add the following snippet at the end of jessyInk.js (http://bazaar.launchpad.net/~hannes-hochreiner/jessyink/trunk/view/head:/scripts/jessyInk.js):

/** `SVGElement.getTransformToElement` polyfill
 */
SVGElement.prototype.getTransformToElement = SVGElement.prototype.getTransformToElement || function(elem) {
 return elem.getScreenCTM().inverse().multiply(this.getScreenCTM());
};