Closed Bug 2089512 Opened 23 days ago Closed 21 days ago

Rename the `anchors-valid` and `anchors-visible` values to singular `anchor-*` per CSS WG resolution

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 4 open bugs)

Details

Attachments

(4 external files)

Per https://github.com/w3c/csswg-drafts/issues/10201:

The CSS Working Group just discussed [css-anchor-position] Details on "anchors-valid", and agreed to the following:
RESOLVED: Only care about default anchor; rename to anchor-valid.

RESOLVED: rename anchors-visible to anchor-visible

Given that we've shipped the pluralized versions of these values, do we need to keep them as aliases when renaming to singular as per the latest spec resolutions? Or do we think this is still new enough that we can just rename them, dropping the plural forms altogether?

(For comparison, Chrome Canary appears to have renamed anchors-visible -- present in Chrome stable -- to anchor-visible and without supporting the older value as an alias.)

I've pushed https://treeherder.mozilla.org/jobs?repo=try&revision=362aa3867eff2daa9ae1a1c5619e9e58b85a53eb to see how this looks; presumably it'll yield some new WPT passes.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED

(In reply to Jonathan Kew [:jfkthame] from comment #1)

(For comparison, Chrome Canary appears to have renamed anchors-visible -- present in Chrome stable -- to anchor-visible and without supporting the older value as an alias.)

Correction: after re-checking (I guess I did something wrong last time), it appears Canary does include an anchors-visible alias. So we probably should do the same thing, to avoid risk of breakage for sites that may be using the legacy form.

Pushed by jkew@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/808fce9db946 https://hg.mozilla.org/integration/autoland/rev/4ecae0bbbe6e Rename anchors-{visible,valid} to singular anchor-{visible,valid} r=firefox-style-system-reviewers,layout-reviewers,emilio https://github.com/mozilla-firefox/firefox/commit/33ec6e4fab5d https://hg.mozilla.org/integration/autoland/rev/546b1a8340d2 Rename and update test files for anchor-visible value renaming. r=firefox-style-system-reviewers,emilio https://github.com/mozilla-firefox/firefox/commit/00fe0eef4588 https://hg.mozilla.org/integration/autoland/rev/204ff225f95f Update metadata for WPT tests that now pass. r=firefox-style-system-reviewers,emilio
Blocks: 2090213
Status: ASSIGNED → RESOLVED
Closed: 21 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/64896 for changes under testing/web-platform/tests

QA Whiteboard: [qa-triage-done-c163/b162]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: