- From: Dirk Schulze <dschulze@adobe.com>
- Date: Wed, 19 Mar 2014 21:18:49 +0000
- To: WHATWG List <whatwg@whatwg.org>
Hi,
I just looked at the definition of Path.addPath[1]:
void addPath(Path path, SVGMatrix? transformation);
SVGMatrix is nullable but can not be omitted all together. Why isn’t it optional as well? I think it should be optional, especially because creating an SVGMatrix at the moment means writing:
var matrix = document.createElementNS('http://www.w3.org/2000/svg','svg').createSVGMatrix();
I would even argue that SVGMatrix should just be optional.
Greetings,
Dirk
[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#path
Received on Wednesday, 19 March 2014 21:34:26 UTC