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

[fxtf-drafts] [geometry] Structured serialization should branch on is 2D

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Mon, 15 May 2017 13:44:36 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issues.opened-228719626-1494855875-sysbot+gh@w3.org>
zcorpan has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [geometry] Structured serialization should branch on is 2D ==
See https://codereview.chromium.org/2874203003/#msg8

Consider this test:
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/5171
```
<!DOCTYPE html>
<script>
onmessage = (e) => w(1 / e.data.m13);
var m = new DOMMatrix();
m.m13 = -0;
w(m.is2D);
postMessage(m, '*');
</script>
```
Per current spec this should log
```
log: true
log: -Infinity
```
But the Chromium CL it would say Infinity, I believe, since it only copies `a`-`f` for a 2d matrix. I think that is very reasonable, so suggest we change the spec.

cc @domenic @fserb

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/161 using your GitHub account
Received on Monday, 15 May 2017 13:44:44 UTC

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