[whatwg] Singular CTM and currentTransform

Hwang, Dongseong dongseong.hwang at intel.com
Wed Mar 26 05:07:01 PDT 2014

> Maklng path primitives and draw calls no-ops when the
> CTM is non-invertible is simple to spec, implement, test, and understand
> for developers.

I strongly agree on Justin.

I would suggest that the getter either:
> 1) throws and invalid state error if the CTM is not invertible
> 2) returns 0. In WebIDLit would look like: SVGMatrix? getTransform();

afaik, we generally avoid throwing exception. am I right?

Br, DS

More information about the whatwg mailing list