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
This disables such merges altogether as it is not an easy feat, since:
* Merged property may be default;
* Merged property can be merged into many shorthands resulting in
longer value;
* There can be more properties waiting to be merged in.
Follow up in #527.
these proposed transformations may be invalid due to style cascading, e.g.
.block-1 {
background:url(image.png) repeat-y;
}
/* ... somewhere further down */
.block-2 {
background:-webkit-linear-gradient();
background:linear-gradient();
background-repeat:repeat-x; /* <- trying to merge this into two properties above */
}
where merging in repeat-x would not override repeat-y from .block-1 declaration anymore - I recommend we leave it as is to avoid potential issues.
E.g (shorter value).
p{background:-webkit-linear-gradient();background:linear-gradient();background-repeat:repeat-x}
->p{background:-webkit-linear-gradient()repeat-x;background:linear-gradient()repeat-x}
or (default value)
p{background:-webkit-linear-gradient();background:linear-gradient();background-repeat:repeat}
->p{background:-webkit-linear-gradient();background:linear-gradient()}
The text was updated successfully, but these errors were encountered: