Bug 1568562 [wpt PR 18048] - [PE]: Improve the interest rect computation under perspe...
commit7fb865c639bfdef0a9195de9de82898f8ff46d57
authorVladimir Levin <vmpstr@chromium.org>
Thu, 1 Aug 2019 14:30:10 +0000 (1 14:30 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 5 Aug 2019 14:49:52 +0000 (5 14:49 +0000)
tree4bc57f64b656dbbe7f3cbdaf14f0659294280155
parent6973e458e05b673beb8867979ba065b8fcf5aafb
Bug 1568562 [wpt PR 18048] - [PE]: Improve the interest rect computation under perspective., a=testonly

Automatic update from web-platform-tests
[PE]: Improve the interest rect computation under perspective.

This patch tries to normalize some of the rects we deal with when
performing interest rect calculations. This is done by capping the
ranges of numbers that we may encounter, in order to produce more
stable results.

The upside of this is that we will paint more content that we would
otherwise erroneously assume to be not intersecting the viewport
(even after padding).

The downside of this is that we may paint more content that is properly
far off screen.

R=chrishtr@chromium.org

Bug: 986110
Change-Id: I69254d2a855e8f083406b13638741b8bc2b85b5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715917
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: vmpstr <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681050}

--

wpt-commits: b95e06f14f8094184be1db0f87d1dcc37325c664
wpt-pr: 18048
testing/web-platform/tests/css/css-transforms/perspective-transforms-equivalence-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-transforms/perspective-transforms-equivalence.html [new file with mode: 0644]