From af774bec0a190f16d810e2655122b4341e900709 Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Fri, 2 Jul 2021 21:37:10 +0000 Subject: [PATCH] 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::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 Commit-Queue: David Baron Cr-Commit-Position: refs/heads/master@{#898172} -- wpt-commits: 428213381f43418226b8df335710c8e8c74d10ee wpt-pr: 29563 --- .../crashtests/preserve3d-scene-001.html | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testing/web-platform/tests/css/css-transforms/crashtests/preserve3d-scene-001.html diff --git a/testing/web-platform/tests/css/css-transforms/crashtests/preserve3d-scene-001.html b/testing/web-platform/tests/css/css-transforms/crashtests/preserve3d-scene-001.html new file mode 100644 index 000000000000..1bb1091acf2b --- /dev/null +++ b/testing/web-platform/tests/css/css-transforms/crashtests/preserve3d-scene-001.html @@ -0,0 +1,32 @@ + +CSS Test (Transforms): Very large values in matrix3d() + + + + + + +