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

prevent using .toLowercase() too often #39

Merged
merged 1 commit into from
Feb 18, 2024
Merged

Conversation

bartveneman
Copy link
Member

@bartveneman bartveneman commented Feb 18, 2024

Prevents all Atrule names (media, layer, etc) and all Dimension units (px, em, etc) to be lowercased when they might not even contain uppercase characters.

@bartveneman bartveneman merged commit ba32081 into main Feb 18, 2024
2 checks passed
@bartveneman bartveneman deleted the prevent-lowercasing branch February 18, 2024 11:50
@bartveneman
Copy link
Member Author

Reference data:

  • Syntax.fm (66.7kB, 61 atrules, 650 units)
  • Vistaprint (709kB, 335 atrules, 1794 units)
  • Smashing Magazine (545kB, 675 atrules, 5073 units)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant