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

fix: remove :is() from mocha.css to support older browsers (#5225) #5227

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

danny0838
Copy link
Contributor

@danny0838 danny0838 commented Oct 12, 2024

PR Checklist

Overview

Remove :is to prevent CSS breaking in older browsers.

This is also more consistent with older existent CSS which did not use :is() in the same file, such as L318-L319.

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

👍 Eventually it'd be nice to use more modern tooling that transpiles down to a supported browser range. But this makes sense in the interim. Thanks!

@JoshuaKGoldberg JoshuaKGoldberg changed the title remove :is() from mocha.css to support older browsers (#5225) fix: remove :is() from mocha.css to support older browsers (#5225) Oct 13, 2024
@JoshuaKGoldberg JoshuaKGoldberg merged commit 0a24b58 into mochajs:main Oct 13, 2024
26 of 27 checks passed
@danny0838 danny0838 deleted the fix-css branch October 18, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mocha.css contains :is() and broke in older browsers
2 participants