Closed Bug 1664775 Opened 6 years ago Closed 5 years ago

[wpt-sync] Sync PR 25515 - Fieldset NG: Fix hit-testing for the rendered legend

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Kent Tamura <tkent@chromium.org>' wrote:

Fieldset NG: Fix hit-testing for the rendered legend

If LayoutNGFragmentTraversal is disabled, no one calls
NodeAtPoint() for the rendered legend. This CL fixes it by updating
LayoutBlock::HitTestChildren() so that LayoutNGFieldset handles its
rendered legend.

Bug: 1127743
Change-Id: Idb21c4dc198591509e4172d89dc84e379a12097f

Reviewed-on: https://chromium-review.googlesource.com/2409416
WPT-Export-Revision: a521f43acc0c3a9c35b10e5253f9be3aff5e94db

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-hover.html
The rendered LEGEND should work well for :hover.: FAIL (Chrome: FAIL, Safari: PASS)

Well, the test also fails in Chrome so maybe there's something wrong with it?

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fc3609918cd6 [wpt PR 25515] - Fieldset NG: Fix hit-testing for the rendered legend, a=testonly https://hg.mozilla.org/integration/autoland/rev/5091afe1a859 [wpt PR 25515] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.