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

[fxtf-drafts] [geometry] DOMMatrix stringifier in workers

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 May 2017 07:12:29 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issues.opened-227586635-1494400348-sysbot+gh@w3.org>
zcorpan has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [geometry] DOMMatrix stringifier in workers ==
https://drafts.fxtf.org/geometry/#dom-dommatrixreadonly-stringifier

> stringifier\(\)
> If is2D is true
> Return a DOMString in the form of a CSS Transforms &lt;matrix\(\)&gt; function where a is a attribute, b is b attribute, c is c attribute, d is d attribute, e is e attribute, f is f attribute\. \[CSS3\-TRANSFORMS\]
> Otherwise
> Return a DOMString in the form of a CSS Transforms &lt;matrix3d\(\)&gt; function where m11 to m44 are set to m11 to m44 attributes\. \[CSS3\-TRANSFORMS\]

In https://github.com/w3c/fxtf-drafts/issues/122 we limited CSS parser entry points for `DOMMatrix` to `Window`. Should we also limit the stringifier to `Window` (so that in workers it would stringify to "`[object DOMMatrix]`")?

cc @esprehn @chrishtr @foolip

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/145 using your GitHub account
Received on Wednesday, 10 May 2017 07:12:35 UTC

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