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

Detect non-matching CSS classes #33

Open
mthuurne opened this issue Dec 14, 2021 · 0 comments
Open

Detect non-matching CSS classes #33

mthuurne opened this issue Dec 14, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@mthuurne
Copy link
Member

A page could contain a CSS class that doesn't exist, for example because of a typo or maybe the project moved to a newer version of Bootstrap and this page wasn't migrated. It would be useful to report such situations, since in the best case the page code or template could be cleaned up and in the worst case it doesn't render correctly.

There could be other reasons why a class doesn't match any CSS rules, for example it is attached to the wrong kind of tag.

Like with #6, we'd need proper CSS parsing to implement this.

@mthuurne mthuurne added the enhancement New feature or request label Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant