Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

ddbeck
Copy link
Collaborator

@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
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
5 checks passed
@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
Collaborator 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.

@mdn-bot mdn-bot mentioned this pull request Nov 8, 2024
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