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

Update clean-css #285

Open
kleisauke opened this issue Jul 5, 2024 · 0 comments
Open

Update clean-css #285

kleisauke opened this issue Jul 5, 2024 · 0 comments

Comments

@kleisauke
Copy link

Currently, one- and two-letter CSS property names do not appear in the minified CSS output because cdnjs uses an outdated version of clean-css (v3.3.10). For example, with Mocha, this results in a non-functional progress indicator because it strips some essential SVG properties:

@@ -377,9 +377,6 @@ body {
 #mocha-stats :is(.ring-flatlight, .ring-highlight) {
   --stroke-thickness: 1.65px;
   --center: calc(var(--ring-container-size) / 2);
-  cx: var(--center);
-  cy: var(--center);
-  r: calc(var(--ring-radius) - calc(var(--stroke-thickness) / 2));
   fill: hsla(0, 0%, 0%, 0);
   stroke-width: var(--stroke-thickness);
 }

(see: https://cdnjs.cloudflare.com/ajax/libs/mocha/10.6.0/mocha.min.css)

This was fixed with commit clean-css/clean-css@0ffb65d.

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

No branches or pull requests

1 participant