[wpt-sync] Sync PR 63945 - Remove quirks-mode case-insensitive anchor name matching
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63945 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63945
Details from upstream follow.
Stephanie Zhang <stephanie.zhang@microsoft.com> wrote:
Remove quirks-mode case-insensitive anchor name matching
Use counter data from CL:7523311 shows that the case-insensitive
fallback fires on roughly 0.00015% of page loads, confirming very low
compatibility risk.This CL removes the quirks-mode case-insensitive fallback for anchor
name matching, aligning Chromium with Safari and Firefox which already
use case-sensitive matching in quirks mode. The use counters are also
deprecated. The behavior change is guarded behind the
CaseSensitiveAnchorMatching runtime flag.Added a WPT test to verify that anchor name matching is case-sensitive
in quirks mode.
- kAnchorCaseSensitiveMatch (~0.01%): https://chromestatus.com/metrics/feature/timeline/popularity/5784
- kAnchorCaseInsensitiveMatch (~0.00015%): https://chromestatus.com/metrics/feature/timeline/popularity/5785
https://chromestatus.com/feature/5085237991309312
PSA: https://groups.google.com/a/chromium.org/g/blink-dev/c/R6ymw2Fj8MM
Low-Coverage-Reason: COVERAGE_UNDERREPORTED
Fixed: 40829784
Change-Id: I30ff517da18e8982915abeef40e1974f7f0690a9Reviewed-on: https://chromium-review.googlesource.com/7727981
WPT-Export-Revision: 95305691ebb6e79efb655a1efda14b0f7b3ba8bd
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=122334
| Assignee | ||
Comment 3•8 days ago
|
||
Test result changes from PR not available.
Comment 4•8 days ago
|
||
| bugherder | ||
Description
•