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

Wrong minify result of min-height: -webkit-fill-available; #630

Closed
magic-akari opened this issue Nov 20, 2023 · 2 comments
Closed

Wrong minify result of min-height: -webkit-fill-available; #630

magic-akari opened this issue Nov 20, 2023 · 2 comments

Comments

@magic-akari
Copy link
Contributor

magic-akari commented Nov 20, 2023

Description

Firefox does not support the height/min-height/max-height properties, only width. See test case, Firefox bug.

-- From caniuse

Version

1.22.1

Keyword

  • minify
  • firefox
  • unsupported properties

Code

html {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

Playground

Expacted result

min-height: 100vh; should be preserved

Actual result

min-height: 100vh; is removed

@magic-akari
Copy link
Contributor Author

Investigation:
It's introduced by e255210

@magic-akari magic-akari changed the title Wrong minify result Wrong minify result of min-height: -webkit-fill-available; Nov 20, 2023
@yisibl
Copy link
Contributor

yisibl commented Dec 29, 2023

This can cause properties to be lost, please raise the priority of this error.

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