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

Empty prefix class #2717

Open
anita-chouhan opened this issue Nov 3, 2022 · 1 comment
Open

Empty prefix class #2717

anita-chouhan opened this issue Nov 3, 2022 · 1 comment

Comments

@anita-chouhan
Copy link

Type of bug
Modernizr adds an empty prefix class to the <html> tag when using Add CSS classes option with prefix.

How to Reproduce

  1. Select the Webp under the DOWNLOAD tab.
  2. Goto OPTIONS and select minify then in the input box for Add CSS classes add has-
  3. Download the build file.
  4. Include the modernizr-custom.js in the head section of the website.

Expected behavior
Expected classes in the <html> tag has-webp has-webp-alpha has-webp-animation has-webp-lossless

Actual behavior
Classes added to the <html> tag has- has-webp has-webp-alpha has-webp-animation has-webp-lossless

@balogun14
Copy link

@anita-chouhan i will like to be assigned to this issue can you explain this more

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

2 participants