w3c / fxtf-drafts

Mirror of https://hg.fxtf.org/drafts
https://drafts.fxtf.org/
Other
68 stars 49 forks source link

[geometry-1] DOMMatrix should perhaps describe when zero values should be positive or negative zero #474

Open dbaron opened 1 year ago

dbaron commented 1 year ago

Some methods on DOMMatrix that produce floats might reasonably be interpreted to produce either positive or negative zero. There is some lack of interop as to which is produced; see change. (I'd link to the WPT PR... but it doesn't seem to have happened for some reason.)

It may be worth the specification being clearer about when positive zero or negative zero results from various calculations.

cc @wangxianzhu

dbaron commented 1 year ago

The WPT PR is web-platform-tests/wpt#36767.