-
Notifications
You must be signed in to change notification settings - Fork 186
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
placeholder-shown selector should not be merged #416
Comments
This is the same issue as h383 I have come across the same bug. This is actually pretty big tbh and should prevent people using this lib. Have commented in the other issue. |
I believe it fixed in ba7952c and will be shipped in next version. |
Actually, not quite when you use
Should I create a new issue ? |
I was going nuts why the |
Any news on this? |
CSSO automatically merges blocks with identical properties even when
:placeholder-shown
,:-ms-input-placeholder
,:-moz-placeholder-shown
are used as selectors.Those vendor prefixed selectors are typically generated by autoprefixer (cf postcss/autoprefixer#1311 )
But actually browsers ignores the blocks when a unrecognized selector is present.
Faulty behaviour encountered on
For example, given two text inputs with different ids
related codepen : https://codepen.io/agka/pen/vYNMeBq
Possibly related to #383
Known workaround is to set
restructure
tofalse
but it kinda defeats the purpose of the optimizerThe text was updated successfully, but these errors were encountered: