{"action":"opened","issue":{"url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/587","labels_url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/587/comments","events_url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/587/events","html_url":"https://github.com/jakubpawlowicz/clean-css/issues/587","id":82511920,"number":587,"title":"border-color merges too much aggressively","user":{"login":"ogonkov","id":1091927,"avatar_url":"https://avatars.githubusercontent.com/u/1091927?v=3","gravatar_id":"","url":"https://api.github.com/users/ogonkov","html_url":"https://github.com/ogonkov","followers_url":"https://api.github.com/users/ogonkov/followers","following_url":"https://api.github.com/users/ogonkov/following{/other_user}","gists_url":"https://api.github.com/users/ogonkov/gists{/gist_id}","starred_url":"https://api.github.com/users/ogonkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogonkov/subscriptions","organizations_url":"https://api.github.com/users/ogonkov/orgs","repos_url":"https://api.github.com/users/ogonkov/repos","events_url":"https://api.github.com/users/ogonkov/events{/privacy}","received_events_url":"https://api.github.com/users/ogonkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-29T17:22:26Z","updated_at":"2015-05-29T17:22:26Z","closed_at":null,"body":"clean-css break styles with reordering styles. tested on `clean-css@3.2.10`\r\n\r\n```css\r\n.something-else {\r\n    border-color: red;\r\n}\r\n\r\n.button {\r\n    border: solid 1px;\r\n}\r\n\r\n.button_primary {\r\n    color: #fff;\r\n    background: red;\r\n    border-color: red;\r\n}\r\n```\r\n\r\nresult:\r\n```css\r\n.button_primary,.something-else{border-color:red}\r\n.button{border:1px solid}\r\n.button_primary{color:#fff;background:red}\r\n```\r\n\r\nNow `.button_primary` has broken border, instead of red."}}