Closed Bug 1733618 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31060 - Fix test's perspective comparison to accept scientific notation.

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 31060 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/31060
Details from upstream follow.

L. David Baron <dbaron@chromium.org> wrote:

Fix test's perspective comparison to accept scientific notation.

This fixes the compareWithPerspective comparison function in
transform-interpolation-001.html to accept values with scientific
notation (such as numbers very close to zero).

It also fixes the comparison function to handle errors better so that
failures are reported more clearly.

(I want to do this here because the following patch would otherwise
add two more of these failures, for the CSS transitions at time 0
cases.)

Bug: 897358
Change-Id: Id1ecde987eb0ba9d0d00b6da030d74a689c1e502
Reviewed-on: https://chromium-review.googlesource.com/3199697
WPT-Export-Revision: 91fec33dffffc862a0238b8f8a17e27898981dd6

Component: web-platform-tests → Web Painting
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 448 subtests

Status Summary

Firefox

OK : 1
PASS: 448

Chrome

OK : 1
PASS: 428
FAIL: 20

Safari

OK : 1
PASS: 360
FAIL: 88

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c3f28fb43881 [wpt PR 31060] - Fix test's perspective comparison to accept scientific notation., a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.