Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Parcel versions 2.4.0 & 2.4.1 refuse to build if any dependency has invalid CSS. This has created an incompatibility with various other projects including DataTables, and the Parcels maintainer has expressed a strong preference for fixing all the other projects rather than loosening the constraint: parcel-bundler/parcel#7854
Fortunately, in this project the issue seems to be confined to a handful of CSS declarations that use the very nonstandard *propertyname hack for IE7 and older. This PR simply replaces each instance of that hack with the modern, standards-compliant
@supports
construct. In each instance, the IE-specific rule is first, followed by an@supports
block that overrides it for more modern browsers. It's written in this slightly counterintuitive way because IE does not itself support@supports
.I would also be happy with dropping IE<=7 support entirely, or allowing a little degradation in those very old browsers by dropping these specific CSS rules. But I do not feel that that's my decision to make! So this is an attempt to maintain that support while complying with modern CSS standards.
Unfortunately I am not able to test this work in IE as I work on a Mac.
All work in this PR is offered under the MIT License.