Closed Bug 1613931 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21659 - [LayoutNG] Make hit-testing work inside an anonymous block.

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 21659 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/21659
Details from upstream follow.

Morten Stenshorne <mstensho@chromium.org> wrote:

[LayoutNG] Make hit-testing work inside an anonymous block.

When self-hit-testing an anonymous block (because the point is within
the bounds of the anonymous block but not within any of its lines), we
need to UpdateHitTestResult(), so that we provide the right node in the
hit testing result. Otherwise we'll fall back to the node of the
enclosing PaintLayer.

Bug: 1043787
Change-Id: I735e50a27e19d178b36f5e4049f91eea109412f0
Reviewed-on: https://chromium-review.googlesource.com/2044092
WPT-Export-Revision: ed1ce81d7e1e79ab253903967db2bebed1715d54

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 44 tests

Status Summary

Firefox

OK : 1
PASS: 1[GitHub] 44[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/90eaa9877a7f
[wpt PR 21659] - [LayoutNG] Make hit-testing work inside an anonymous block., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.