Re: [fxtf-drafts] [geometry] DOMMatrix stringifier behavior doesn't seem to match implementations

@AmeliaBR thanks for the examples for Infinity and NaN!

I missed to bring up on the call the precision issue. In #148 I defined it in terms of JS's `ToString`, so that means something like this:

It seems in Safari TP for `WebKitCSSMatrix`, it uses 6 digits and no sci-not:

None of the current browser implementations match CSSOM's serialization rule for numbers.

I think JS `ToString` is reasonable because it makes it *possible* to preserve precision in a roundtrip, if the CSS parser supports parsing into a `double` value for `DOMMatrix`/'transform' etc.

GitHub Notification of comment by zcorpan
Please view or discuss this issue at using your GitHub account

Received on Thursday, 11 May 2017 08:04:05 UTC