Views not working on Chrome

Bug #1686551 reported by DaFeBa on 2017-04-26
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
JessyInk
Undecided
Unassigned

Bug Description

I made a presentation in one page with view changes.

in my PC (Firefox on linux) works fine, but in latest Chrome for Windows and Android, fail to play in the correct order.

Here is an example:

vmodiseño.com.ar/diapo/ji1.svg

DaFeBa (dario-badagnani) wrote :

Also not working well in Chromium 58 on Linux

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());
};

DaFeBa (dario-badagnani) wrote :

Hi: How can update jessyink with this workaround? I tried replacing the original jessyink.js with this version. After updating the jessyink, the SVG is slightly heavier, but it doesn't fix the bug in chromium.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers