Closed Bug 1718908 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29562 - Handle z_at_xy_zero being very large.

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Handle z_at_xy_zero being very large.

When z_at_xy_zero starts off very large, subtracting z_delta from it
might still leave it larger than kInfiniteCoordinate, so we can't assume
that it is smaller. Just forcing it to be smaller should be good enough
given how much of an edge case this is. (We won't get sensible results
anyway, since the inaccuracy of floating point will have made them
wildly inaccurate already.)

Fixed: 1224066
Change-Id: I77b6ad4e1569664094cb2ba7c0e17135fe0cae48
Reviewed-on: https://chromium-review.googlesource.com/3002328
WPT-Export-Revision: d06c9eb8c7e818f2b06dd521e379bb429dee4483

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

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d548e9bc275e
[wpt PR 29562] - Handle z_at_xy_zero being very large., a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.