Content-Length: 255669 | pFad | http://github.com/web-platform-tests/wpt/pull/35502

03 [Gecko Bug 1682444] Add basic support for nan / infinity in calc(). by moz-wptsync-bot · Pull Request #35502 · web-platform-tests/wpt · GitHub
Skip to content

[Gecko Bug 1682444] Add basic support for nan / infinity in calc(). #35502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

moz-wptsync-bot
Copy link
Collaborator

Fix some tests to:

Not sure I caught all, but normalizing to 0 was already our existing
behavior. This feature needs more work before it can be enabled more
generally, so make it nightly-only, for now.

Also, it's unclear per spec what the serialization for infinity*1s or so
should be. Right now we serialize to s, which seems
reasonable, but some tests (but not others!) expect different behavior.

I left those untouched for now.

Differential Revision: https://phabricator.services.mozilla.com/D154883

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1682444
gecko-commit: bf0c0ff13cc1586a185bb0d9f39a9bbf6be554c3
gecko-reviewers: boris

Fix some tests to:

 * Not assume `double` precision.
 * Account for recent working group resolution with regards to NaN: w3c/csswg-drafts#7067 (comment)

Not sure I caught all, but normalizing to 0 was already our existing
behavior. This feature needs more work before it can be enabled more
generally, so make it nightly-only, for now.

Also, it's unclear per spec what the serialization for infinity*1s or so
should be. Right now we serialize to <very-big-number>s, which seems
reasonable, but some tests (but not others!) expect different behavior.

I left those untouched for now.

Differential Revision: https://phabricator.services.mozilla.com/D154883

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1682444
gecko-commit: bf0c0ff13cc1586a185bb0d9f39a9bbf6be554c3
gecko-reviewers: boris
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

@moz-wptsync-bot moz-wptsync-bot merged commit 651e64a into master Aug 18, 2022
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1682444 branch August 18, 2022 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/web-platform-tests/wpt/pull/35502

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy