Closed Bug 2084891 Opened 1 month ago Closed 8 days ago

[wpt-sync] Sync PR 63945 - Remove quirks-mode case-insensitive anchor name matching

Categories

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

task

Tracking

()

RESOLVED FIXED
163 Branch
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.

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: I30ff517da18e8982915abeef40e1974f7f0690a9

Reviewed-on: https://chromium-review.googlesource.com/7727981
WPT-Export-Revision: 95305691ebb6e79efb655a1efda14b0f7b3ba8bd

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/2b52bec4f3b0 https://hg.mozilla.org/integration/autoland/rev/c55b0506d43a [wpt PR 63945] - Remove quirks-mode case-insensitive anchor name matching, a=testonly

Test result changes from PR not available.

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