Closed Bug 2063927 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 61975 - [RouteMatching] href attribute changes may affect :link-to() matching.

Categories

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

task

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Morten Stenshorne <mstensho@chromium.org> wrote:

[RouteMatching] href attribute changes may affect :link-to() matching.

There was no support for this. Yet, we had a passing test for it in
wpt_internal/ . When attempting to move it into external/wpt/ it started
failing. Not sure why this passed at all.

PseudoStateChanged() needs to be called with CSSSelector::kPseudoLinkTo
when the href attribute on a link changes.

Bug: 436805487
Change-Id: I8c6a1efe095129d5eed2531ca39118c5058f9d3c
Reviewed-on: https://chromium-review.googlesource.com/8243771
WPT-Export-Revision: adcb32898514de368a2ca20307d4d156eda0f8b8

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

CI Results

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

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
You need to log in before you can comment on or make changes to this bug.