gecko-dev/testing/web-platform/tests/intersection-observer/resources
Stefan Zager b1b5a991c4 Bug 1546976 [wpt PR 16456] - [IntersectionObserver] Correctly handle a scaled target, a=testonly
Automatic update from web-platform-tests
[IntersectionObserver] Correctly handle a scaled target

If a target is inside an iframe, and the iframe (or one if its
ancestors in the parent document) has a scale applied, then we need to
apply the scale to the hit test rect when checking for occlusion. The
default LocalFrameView coordinate conversion routines don't do that.
Use LocalToAncestorQuad instead.

BUG=951525
R=chrishtr@chromium.org

Change-Id: I1107f0bd3c6d262a392fbafe430897cc09068623
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1578100
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653774}

--

wpt-commits: a81e0ccf8fce2f5765cb2ca548cd095969909915
wpt-pr: 16456
2019-06-05 10:27:17 +01:00
..
cross-origin-subframe.html
iframe-no-root-subframe.html
intersection-observer-test-utils.js Bug 1526260 [wpt PR 15175] - [IntersectionObserver] Upstream V2 tests to wpt, a=testonly 2019-03-16 12:12:37 +00:00
observer-in-iframe-subframe.html
scaled-target-subframe.html Bug 1546976 [wpt PR 16456] - [IntersectionObserver] Correctly handle a scaled target, a=testonly 2019-06-05 10:27:17 +01:00
timestamp-subframe.html
v2-subframe.html Bug 1526260 [wpt PR 15175] - [IntersectionObserver] Upstream V2 tests to wpt, a=testonly 2019-03-16 12:12:37 +00:00