Closed Bug 1665519 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25580 - Fieldset NG: Fix hit-testing for the rendered LEGEND, take 2

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 25580 into mozilla-central (this bug is closed when the sync is complete).

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

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

Fieldset NG: Fix hit-testing for the rendered LEGEND, take 2

crrev.com/806924 missed to add |accumulated_offset| to the LEGEND's
offset. So hit-testing didn't work well if the FIELDSET was placed far
from the origin.

Bug: 1127743
Change-Id: I16c80b8074f9082516a6ecd5bb82407bbe7d3551
Reviewed-on: https://chromium-review.googlesource.com/2413681
WPT-Export-Revision: 8dcbd73d98716482281d40c527c2829829689ff8

PR 25580 applied with additional changes from upstream: 6cfce57929a2359a627f558bf6663bb1f4573533
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 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

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)

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