From d4fac18429684af72a9e14e0e807d502be5cbe38 Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Fri, 24 Dec 2021 09:56:16 +0000 Subject: [PATCH] Bug 1747279 [wpt PR 32174] - Make Transform::TransformRRectF tolerate values within kEpsilon of 0., a=testonly Automatic update from web-platform-tests Make Transform::TransformRRectF tolerate values within kEpsilon of 0. This changes Transform::TransformRRectF so that it doesn't fail due to lack of axis-alignment in cases where Transform::Preserves2dAxisAlignment is true, by adjusting relevant values that are within kEpsilon of 0. This change prevents us from (a) deciding that we can take the border-radius fast path, and then (b) having that fast path fail. Fixed: 1207151 Change-Id: I2ae31ec86f4f4a32ae02fc1bc6b4815b253cda2f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3353877 Reviewed-by: danakj chromium Commit-Queue: David Baron Cr-Commit-Position: refs/heads/main@{#953613} -- wpt-commits: 49c973633a519d3f43a3778eb0d913604c719336 wpt-pr: 32174 --- ...der-radius-clipping-with-transform-001-ref.html | 47 +++++++++++++++++ .../border-radius-clipping-with-transform-001.html | 60 ++++++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 testing/web-platform/tests/css/css-backgrounds/border-radius-clipping-with-transform-001-ref.html create mode 100644 testing/web-platform/tests/css/css-backgrounds/border-radius-clipping-with-transform-001.html diff --git a/testing/web-platform/tests/css/css-backgrounds/border-radius-clipping-with-transform-001-ref.html b/testing/web-platform/tests/css/css-backgrounds/border-radius-clipping-with-transform-001-ref.html new file mode 100644 index 000000000000..db3ae40c5b53 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/border-radius-clipping-with-transform-001-ref.html @@ -0,0 +1,47 @@ + +CSS Test (Backgrounds): border-radius clipping on overflow:hidden with transforms + + + + +
+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-backgrounds/border-radius-clipping-with-transform-001.html b/testing/web-platform/tests/css/css-backgrounds/border-radius-clipping-with-transform-001.html new file mode 100644 index 000000000000..e7d173b3c4e4 --- /dev/null +++ b/testing/web-platform/tests/css/css-backgrounds/border-radius-clipping-with-transform-001.html @@ -0,0 +1,60 @@ + +CSS Test (Backgrounds): border-radius clipping on overflow:hidden with transforms + + + + + + + + +
+
+
+
+
+
+
+
-- 2.11.4.GIT