You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example mixes +_ and +, because I wanted to use code that make some sense. Both +_ and + work the same way, difference is in used expressions. E.g. the transform in the above example works because scale() resembles a function. The transition does not work, but if I replace 2s by s(), then merge will work correctly:
I would not. I do not see any reason for the values having !important to form a separate property. This just does not make any sense actually, i.e. notice that in your expected result the non-important properties would not have any styling effect at all (thus this way it's basically equal to removing these non-important properties from the output CSS completely and this is not what we expect form the "merge" feature).
So my expectation for the result of the example would be simply:
Properties marked as !important are merged in two different ways:
Example:
compiles into:
I would expect it to compile into:
The example mixes
+_
and+
, because I wanted to use code that make some sense. Both+_
and+
work the same way, difference is in used expressions. E.g. thetransform
in the above example works becausescale()
resembles a function. Thetransition
does not work, but if I replace2s
bys()
, then merge will work correctly:compiles into:
The text was updated successfully, but these errors were encountered: