Open Bug 2090213 Opened 22 days ago Updated 10 days ago

DevTools should not expose the legacy aliases of CSS position-visibility values

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: jfkthame, Unassigned)

References

Details

In bug 2089512, we're renaming the anchors-visible and anchors-valid values of position-visibility to their singular form anchor-*, as per CSS WG resolution.

For compatibility, the old plural values are aliased to the new singular ones.

However, I think we should hide the plural aliases from the autocomplete suggestions in DevTools, as it's confusing for authors to have both forms show up (it makes it seem as though they're distinct settings that would mean different things), and authors should be nudged towards using the now-standard singular form.

(or we could expose them too with a "legacy" badge or an icon)

I agree that we should indicate that these values are deprecated / legacy, but I don't think we should hide them. Someone working on a legacy codebase might still need these values for other reasons. Nicolas' suggestion of a "legacy" badge sounds like a better approach. Since this would add a new feature to the autocomplete, I think this is an enhancement request. Let's discuss during triage.

It could also be interesting to show a badge / indicator outside of the autocomplete for deprecated values.

Type: defect → enhancement
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.