Skip to content

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
@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