Re: [fxtf-drafts] [geometry] Restore DOMMatrixReadOnly.scaleNonUniform() for backward compatibility with SVGMatrix

A `SELECT page FROM [httparchive:har.latest_bodies_desktop] WHERE body CONTAINS 'scaleNonUniform';` search had 46 results:
http://www.acquariodigenova.it/
http://www.amateurseite.com/
http://www.artella.com/
http://www.atlassian.com/
http://www.babylonjs-playground.com/
http://www.billionairestore.co.id/
http://www.biocyc.org/
http://www.bitbucket.org/
http://www.bonjoro.com/
http://www.ceskereality.cz/
http://www.co.vu/
http://www.ecocyc.org/
http://www.flsmidth.com/
http://www.forpiano.com/
http://www.gaj.ir/
http://www.gazgroup.ru/
http://www.grafikart.fr/
http://www.gronalund.com/
http://www.gulugulu.cn/
http://www.hipchat.com/
http://www.houdoukyoku.jp/
http://www.hyundaicard.com/
http://www.javascripture.com/
http://www.jira.com/
http://www.lense.fr/
http://www.moravskereality.cz/
http://www.muschealth.com/
http://www.muschealth.org/
http://www.nordnet.se/
http://www.openai.com/
http://www.rittor-music.co.jp/
http://www.seikowatches.com/
http://www.shoptheroe.com/
http://www.sourcetreeapp.com/
http://www.stackblitz.com/
http://www.starbucksstore.com/
http://www.statuspage.io/
http://www.stride.com/
http://www.sumokoin.com/
http://www.sumokoin.org/
http://www.tennistv.com/
http://www.vianavigo.com/
http://www.viewerjs.org/
http://www.vnnic.vn/
http://www.webiny.com/
http://www.zhimaruanjian.com/

(Not checked for NSFW content, which is common is searches like this.)

That's a pretty small number of results, but I checked https://www.gronalund.com/ because it's in the city I live, and it's used in a snippets like this:
```js
    var xform = svg.createSVGMatrix();
    // [snip]
    var scale = ctx.scale;
    ctx.scale = function (sx, sy) {
        xform = xform.scaleNonUniform(sx, sy);
        return scale.call(ctx, sx, sy);
    };
```

I don't know if the code is reachable, but if it is it'd break if SVGMatrix were aliased to DOMMatrix.

-- 
GitHub Notification of comment by foolip
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/214#issuecomment-437859835 using your GitHub account

Received on Monday, 12 November 2018 12:23:27 UTC