-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
[Bug]: Don't convert -webkit-line-clamp: initial
to -webkit-line-clamp: none
#1535
Labels
Comments
ludofischer
added a commit
that referenced
this issue
Feb 23, 2024
ludofischer
added a commit
that referenced
this issue
Feb 23, 2024
Fix #1535 test(postcss-reduce-initial): replace spy with built-in mock This concerns only the tests for the utilities used to retrieve the property lists, so it is not code that will be run by users and it only needs to run on the latest stable Node.js
ludofischer
added a commit
that referenced
this issue
Feb 23, 2024
ludofischer
added a commit
that referenced
this issue
Feb 23, 2024
ludofischer
added a commit
that referenced
this issue
Feb 23, 2024
ludofischer
added a commit
that referenced
this issue
Feb 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Currently, postcss-reduce-initial will convert
-webkit-line-clamp: initial
to-webkit-line-clamp: none
. However, the latter has dramatically lower browser compatibility (only Firefox supports the valuenone
, not Edge or Safari).Expected behaviour
-webkit-line-clamp: initial
should be left as-is until-webkit-line-clamp: none
is widely supported, or unless Firefox is the only targeted browser in the browserslist.Steps to reproduce
a {-webkit-line-clamp: initial}
Version
6.0.1
Preset
default
Environment
Package details
Additional context
No response
The text was updated successfully, but these errors were encountered: