Skip to content

fix: remove obsolete vendor-prefixed @keyframes and animation properties#549

Open
lekhmanrus wants to merge 1 commit intoCodeByZach:masterfrom
lekhmanrus:fix/remove-obsolete-vendor-prefixed-keyframes
Open

fix: remove obsolete vendor-prefixed @keyframes and animation properties#549
lekhmanrus wants to merge 1 commit intoCodeByZach:masterfrom
lekhmanrus:fix/remove-obsolete-vendor-prefixed-keyframes

Conversation

@lekhmanrus
Copy link

@lekhmanrus lekhmanrus commented Mar 4, 2026

Remove -webkit-, -moz-, -o-, and -ms- prefixed @keyframes rules and vendor-prefixed animation properties from all theme templates and compiled theme files.
These vendor prefixes have been unnecessary since 2013+ as all modern browsers support the unprefixed @keyframes and animation properties.
The vendor-prefixed @keyframes rules also cause build warnings in applications using beasties (the critical CSS inliner), which fails to parse percentage selectors (0%, 50%, 100%) inside vendor-prefixed at-rules, producing:
"N rules skipped due to selector errors:
0% -> Unmatched selector: %"
Also removes duplicate transform properties inside unprefixed @keyframes blocks in barber-shop, flash, and mac-osx themes.

Remove `-webkit-`, `-moz-`, `-o-`, and `-ms-` prefixed `@keyframes`
rules and vendor-prefixed `animation` properties from all theme
templates and compiled theme files.
These vendor prefixes have been unnecessary since 2013+ as all modern
browsers support the unprefixed `@keyframes` and `animation` properties.
The vendor-prefixed `@keyframes` rules also cause build warnings in
applications using beasties (the critical CSS inliner), which fails to
parse percentage selectors (0%, 50%, 100%) inside vendor-prefixed
at-rules, producing:
  "N rules skipped due to selector errors:
    0% -> Unmatched selector: %"
Also removes duplicate `transform` properties inside unprefixed
`@keyframes` blocks in barber-shop, flash, and mac-osx themes.

Signed-off-by: Ruslan Lekhman <lekhman112@gmail.com>
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.

1 participant