Bug 1747279 [wpt PR 32174] - Make Transform::TransformRRectF tolerate values within...
commitd4fac18429684af72a9e14e0e807d502be5cbe38
authorL. David Baron <dbaron@chromium.org>
Fri, 24 Dec 2021 09:56:16 +0000 (24 09:56 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 24 Dec 2021 19:31:00 +0000 (24 19:31 +0000)
tree551080874c5069be186934cb5360fe6cb6f8e601
parent6dcb6c6c6badb4ab236293cce7bae11e9c9f5754
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 <danakj@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#953613}

--

wpt-commits: 49c973633a519d3f43a3778eb0d913604c719336
wpt-pr: 32174
testing/web-platform/tests/css/css-backgrounds/border-radius-clipping-with-transform-001-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-backgrounds/border-radius-clipping-with-transform-001.html [new file with mode: 0644]