mdn / mdn/content

Align SVGTransform.matrix with de facto standard

Open
#42,849 2 comments 0 reactions 0 assignees View on GitHub
Content:WebAPI
Dominant language
Markdown
Stars
11k
Forks
23.2k
Avg merge
2d 9h
Merged PRs (30d)
331

Description

### MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/matrix

### What specific section or headline is this issue about?

https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/matrix#value

### What information was incorrect, unhelpful, or incomplete?

The page describes that `SVGTransform.matrix` is a live `DOMMatrix` object, but this is spec fiction in SVG 2, and in all browsers this is a `SVGMatrix` as specified by SVG 1.1.

### What did you expect to see?

Mention `SVGMatrix` instead of `DOMMatrix`.

### Do you have any supporting links, references, or citations?

- https://github.com/mdn/browser-compat-data/issues/28757
- https://github.com/mdn/browser-compat-data/pull/28865
- https://github.com/w3c/svgwg/issues/1055

### Do you have anything more you want to share?

_No response_

### MDN metadata

Page report details

* Folder: `en-us/web/api/svgtransform/matrix`
* MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/SVGTransform/matrix
* GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/svgtransform/matrix/index.md
* Last commit: https://github.com/mdn/content/commit/735185aeff568a6de5ecbb585d733c1c67191c48
* Document last modified: 2024-12-31T07:45:58.000Z

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.