Skip to content

Improve property merging algorithm #168

@GoalSmashers

Description

@GoalSmashers
a{color:white;color:black;color:red;}

does not get minified into

a{color:red}

That's because we assume adjoining properties to be used deliberately, e.g.:

a {
  color:rgba(0,0,0,0.5);
  color:#888;
}

or

a{
  background:#fff;
  background:-moz-linear-gradient(...);
  background:-webkit-linear-gradient(...);
  background:linear-gradient(...);
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions