Re: [svgwg] SVGTransform's setMatrix method should take a DOMMatrix2DInit (#326)

Why was this specced to use `DOMMatrix2DInit` and not `DOMMatrixInit` (as suggested in OP)?

The [steps](https://github.com/w3c/svgwg/commit/d534877e5a0a83000c0dea391914248140a34be8#diff-4dfecd39e0fdc8862897176749763586066f1e7c97a78cf5bcf453b431b407b3R3305) that checks "is2D()" is a no-op as specced, I believe, since there won't be any members in the dictionary that can cause it to return false.

@longsonr the tests in https://github.com/web-platform-tests/wpt/tree/master/css/geometry might be useful. (IIRC, Infinity doesn't throw.)

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/326#issuecomment-723026869 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 6 November 2020 11:18:50 UTC