Re: [fxtf-drafts] [geometry-1] DOMMatrix should perhaps describe when zero values should be positive or negative zero (#474)

There are two ways that I think it's observable (maybe others I'm forgetting):
* the string representation
* whether the reciprocal is `+Infinity` or `-Infinity`.

WPT [uses the second one](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/resources/testharness.js;l=1508-1518;drc=c29a3bc5999b980a71de61e66092745937113b8c) in its value equality implementation; this means that there [are WPT test failures](https://wpt.fyi/results/css/geometry/DOMMatrix-invertSelf.html) due to the lack of interop here.

It's probably not a big issue -- but it is a case where different implementations produce observably different results today in a way that we probably should fix.

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/474#issuecomment-2558135267 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 21 December 2024 14:20:19 UTC