Bug 1718909 [wpt PR 29563] - Keep points on edges crossing w=0 under kInfiniteCoordin...
commitaf774bec0a190f16d810e2655122b4341e900709
authorL. David Baron <dbaron@chromium.org>
Fri, 2 Jul 2021 21:37:10 +0000 (2 21:37 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 3 Jul 2021 04:57:14 +0000 (3 04:57 +0000)
tree9a72c9cb75e21ef5025db59180cbff9aaf22ca79
parent0450a6d9010bbee914227627d19faeed7894c6fd
Bug 1718909 [wpt PR 29563] - Keep points on edges crossing w=0 under kInfiniteCoordinate., a=testonly

Automatic update from web-platform-tests
Keep points on edges crossing w=0 under kInfiniteCoordinate.

This adds half of std::numeric_limits<float>::epsilon() (FLT_EPSILON),
which is the smallest representable difference for a float at 1.0, so
that the code to shift t away from the point where w=0 will move it
enough so that the result is less than kInfiniteCoordinate.

Bug: 1224066
Change-Id: I7df134c277f280987405d0d0c2d47de15d3ef55d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3002270
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#898172}

--

wpt-commits: 428213381f43418226b8df335710c8e8c74d10ee
wpt-pr: 29563
testing/web-platform/tests/css/css-transforms/crashtests/preserve3d-scene-001.html [new file with mode: 0644]