DevTools should not expose the legacy aliases of CSS position-visibility values
Categories
(DevTools :: General, enhancement, P3)
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.
Comment 1•22 days ago
|
||
(or we could expose them too with a "legacy" badge or an icon)
Comment 2•11 days ago
|
||
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.
Comment 3•10 days ago
|
||
It could also be interesting to show a badge / indicator outside of the autocomplete for deprecated values.
Description
•