Bug 1767253 [wpt PR 33894] - Set fragment index to 0 when hit-testing in non-fragment...
commit3d470ab9f00705a2db05f1520ecd3a1a870b4a36
authorMorten Stenshorne <mstensho@chromium.org>
Mon, 16 May 2022 10:05:41 +0000 (16 10:05 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 17 May 2022 16:14:27 +0000 (17 16:14 +0000)
tree902bfdbc5e64a4a7d61fb851491b87dfe9507c17
parent3955d2d894b63fb205f6cf27395e3ddd77aab326
Bug 1767253 [wpt PR 33894] - Set fragment index to 0 when hit-testing in non-fragmented container., a=testonly

Automatic update from web-platform-tests
Set fragment index to 0 when hit-testing in non-fragmented container.

Set the fragment index to 0, instead of leaving it at WTF::kNotFound,
when AppendSingleFragmentForHitTesting() has no container_fragment
specified. container_fragment is nullptr as an optimization, when
the container only has one fragment. See near the end of
HitTestLayerByApplyingTransform().

Bug: 1321302
Change-Id: Ibf6bfce2308229030304d99588defd9494ec0298
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3620315
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1000919}

--

wpt-commits: d18cf39d92d0116ae11a6aa034d9fe2f753ce304
wpt-pr: 33894
testing/web-platform/tests/css/css-transforms/inline-with-filter-and-hidden-backface.html [new file with mode: 0644]