更新时间:2023-02-19 14:08:27
会有一个新的API
https://svgwg.org/specs/paths/#InterfaceSVGPathData
和a polyfill
https://github.com/jarek-foksa/path- data-polyfill.js
以及旧API的polyfill
https://github.com/progers/pathseg
另请参阅官方铬错误
https://code.google.com/p/chromium/issues/detail?id=539385
there will be a new API
https://svgwg.org/specs/paths/#InterfaceSVGPathData
and a polyfill for that
https://github.com/jarek-foksa/path-data-polyfill.js
as well as a polyfill for the old API
https://github.com/progers/pathseg
Also see the official chromium bug
https://code.google.com/p/chromium/issues/detail?id=539385