W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > September 2017

Re: [fxtf-drafts] [geometry] New DOMMatrix2DInit validating is confusing

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Sep 2017 06:26:54 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-326500763-1504247206-sysbot+gh@w3.org>
I'm happy to restructure the requirements to better match how it's implemented. It looks like something like what you suggest is how it was implemented in https://bugs.webkit.org/show_bug.cgi?id=176048 also.

A thing to keep in mind is that, as I understand it, WebIDL dictionaries can't be type-checked, and we can't use an overload or union for `fromMatrix()`, but we could add a separate `fromMatrix2D()`. Please file a new issue for extending the exposed API.

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/217#issuecomment-326500763 using your GitHub account
Received on Friday, 1 September 2017 06:26:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 November 2018 00:45:59 UTC