Skip to content

Remove <frequency> and <frequency-percentage> CSS types#24969

Merged
caugner merged 1 commit intomdn:mainfrom
ddbeck:no-freq
Nov 6, 2024
Merged

Remove <frequency> and <frequency-percentage> CSS types#24969
caugner merged 1 commit intomdn:mainfrom
ddbeck:no-freq

Conversation

@ddbeck
Copy link
Copy Markdown
Contributor

@ddbeck ddbeck commented Nov 6, 2024

Summary

These types have no practical application. Let's remove them.

Test results and supporting details

Both the MDN pages for these types say they are "not currently used in any CSS properties."

This data all originated with (or was based directly on) wiki tables. The data hasn't been meaningfully updated in 7 years.

These types are effectively fictitious: the one and only place that they manifestly exist in a browser is as CSSUnitValue objects and CSS numeric static methods. There are no aural properties that exist in contemporary browsers; searching MDN and specifications yielded no evidence of proposals to use these types.

Related issues

web-platform-dx/web-features#2149 (review)

@github-actions github-actions bot added the data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Nov 6, 2024
Copy link
Copy Markdown
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Why does the linter not catch these? 🤔

@caugner caugner merged commit 78dcec5 into mdn:main Nov 6, 2024
@mdn-bot mdn-bot mentioned this pull request Nov 6, 2024
@ddbeck ddbeck deleted the no-freq branch November 6, 2024 18:14
@ddbeck
Copy link
Copy Markdown
Contributor Author

ddbeck commented Nov 6, 2024

Good catch! Why does the linter not catch these? 🤔

I think the impl_urls prevent this. It'd be interesting to audit features where the only data apart from version_added: false is an impl_url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants