https://jsfiddle.net/hsgdqe1p/ mentions the now deprecated SVGMatrix

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
craniumcadoo
Apollo supporter
Apollo supporter
Posts: 41
Joined: 2023-08-02, 19:42

https://jsfiddle.net/hsgdqe1p/ mentions the now deprecated SVGMatrix

Unread post by craniumcadoo » 2024-03-13, 15:33

According to https://developer.mozilla.org/en-US/doc ... /DOMMatrix and https://udn.realityripple.com/docs/Web/API/SVGMatrix, SVGMatrix was deprecated and replaced by DOMMatrix in SVG 2. Yet on https://jsfiddle.net/hsgdqe1p/ and https://ruffle.rs/ (which uses web_sys::DomMatrix and web_sys::Path2d in https://github.com/ruffle-rs/ruffle/blo ... #L882-L895), there is an error message that Argument 2 of Path2D.addPath does not implement interface SVGMatrix when it is a basic DOMMatrix. The jsfiddle is the minimal reproduction of the issue that I originally noticed on https://ruffle.rs/

Code: Select all

TypeError: Argument 2 of Path2D.addPath does not implement interface SVGMatrix.

User avatar
craniumcadoo
Apollo supporter
Apollo supporter
Posts: 41
Joined: 2023-08-02, 19:42

Re: https://jsfiddle.net/hsgdqe1p/ mentions the now deprecated SVGMatrix

Unread post by craniumcadoo » 2024-03-14, 13:35


User avatar
craniumcadoo
Apollo supporter
Apollo supporter
Posts: 41
Joined: 2023-08-02, 19:42

Re: https://jsfiddle.net/hsgdqe1p/ mentions the now deprecated SVGMatrix

Unread post by craniumcadoo » 2024-03-14, 14:06


User avatar
craniumcadoo
Apollo supporter
Apollo supporter
Posts: 41
Joined: 2023-08-02, 19:42

Re: https://jsfiddle.net/hsgdqe1p/ mentions the now deprecated SVGMatrix

Unread post by craniumcadoo » 2024-03-20, 16:11