{"action":"created","issue":{"url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/713","labels_url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/713/labels{/name}","comments_url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/713/comments","events_url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/713/events","html_url":"https://github.com/jakubpawlowicz/clean-css/issues/713","id":120476264,"number":713,"title":"Rules not being merged","user":{"login":"Dylan-Chapman","id":5383823,"avatar_url":"https://avatars.githubusercontent.com/u/5383823?v=3","gravatar_id":"","url":"https://api.github.com/users/Dylan-Chapman","html_url":"https://github.com/Dylan-Chapman","followers_url":"https://api.github.com/users/Dylan-Chapman/followers","following_url":"https://api.github.com/users/Dylan-Chapman/following{/other_user}","gists_url":"https://api.github.com/users/Dylan-Chapman/gists{/gist_id}","starred_url":"https://api.github.com/users/Dylan-Chapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dylan-Chapman/subscriptions","organizations_url":"https://api.github.com/users/Dylan-Chapman/orgs","repos_url":"https://api.github.com/users/Dylan-Chapman/repos","events_url":"https://api.github.com/users/Dylan-Chapman/events{/privacy}","received_events_url":"https://api.github.com/users/Dylan-Chapman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jakubpawlowicz/clean-css/labels/Enhancement","name":"Enhancement","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-04T20:05:54Z","updated_at":"2015-12-29T08:08:43Z","closed_at":null,"body":"Using through: gulp-minify-css@1.2.2 (has a dependency clean-css@3.4.8)\r\nOptions: Doesn't matter (default produces issue)\r\nOS: Windows 7\r\n\r\nI'm using Lost for my site's grid system. I also decided to create Bootstrap-esque classes using it.\r\n\r\nThis is the code that clean-css is operating on:\r\n\r\n```css\r\n.col-xs-1 {\r\n\t-webkit-box-flex: 0;\r\n\t-webkit-flex: 0 0 auto;\r\n\t-ms-flex: 0 0 auto;\r\n\tflex: 0 0 auto;\r\n\twidth: calc(99.99% * 1/12 - 13.75px)\r\n}\r\n\r\n.col-xs-1:nth-child(n) {\r\n\tmargin-right: 15px\r\n}\r\n\r\n.col-xs-1:last-child,.col-xs-1:nth-child(12n) {\r\n\tmargin-right: 0\r\n}\r\n\r\n.col-xs-2 {\r\n\t-webkit-box-flex: 0;\r\n\t-webkit-flex: 0 0 auto;\r\n\t-ms-flex: 0 0 auto;\r\n\tflex: 0 0 auto;\r\n\twidth: calc(99.99% * 2/12 - 12.5px)\r\n}\r\n\r\n.col-xs-2:nth-child(n) {\r\n\tmargin-right: 15px\r\n}\r\n\r\n.col-xs-2:last-child, .col-xs-2:nth-child(6n) {\r\n\tmargin-right: 0\r\n}\r\n\r\n/* Goes through .col-xs-12 */\r\n```\r\n\r\nHowever, it does nothing with this code.\r\n\r\nI would expect the output to be something akin to:\r\n\r\n```css\r\n.col-xs-1, .col-xs-2 {\r\n\t-webkit-box-flex: 0;\r\n\t-webkit-flex: 0 0 auto;\r\n\t-ms-flex: 0 0 auto;\r\n\tflex: 0 0 auto;\r\n}\r\n\r\n.col-xs-1 {\r\n\twidth: calc(99.99% * 1/12 - 13.75px)\r\n}\r\n\r\n.col-xs-2 {\r\n\twidth: calc(99.99% * 2/12 - 12.5px)\r\n}\r\n\r\n.col-xs-1:nth-child(n), .col-xs-2:nth-child(n) {\r\n\tmargin-right: 15px\r\n}\r\n\r\n.col-xs-1:last-child,.col-xs-1:nth-child(12n), .col-xs-2:last-child, .col-xs-2:nth-child(6n) {\r\n\tmargin-right: 0\r\n}\r\n```\r\n\r\nIs there some reason these aren't being merged?"},"comment":{"url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/comments/167742589","html_url":"https://github.com/jakubpawlowicz/clean-css/issues/713#issuecomment-167742589","issue_url":"https://api.github.com/repos/jakubpawlowicz/clean-css/issues/713","id":167742589,"user":{"login":"superpoincare","id":13736892,"avatar_url":"https://avatars.githubusercontent.com/u/13736892?v=3","gravatar_id":"","url":"https://api.github.com/users/superpoincare","html_url":"https://github.com/superpoincare","followers_url":"https://api.github.com/users/superpoincare/followers","following_url":"https://api.github.com/users/superpoincare/following{/other_user}","gists_url":"https://api.github.com/users/superpoincare/gists{/gist_id}","starred_url":"https://api.github.com/users/superpoincare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superpoincare/subscriptions","organizations_url":"https://api.github.com/users/superpoincare/orgs","repos_url":"https://api.github.com/users/superpoincare/repos","events_url":"https://api.github.com/users/superpoincare/events{/privacy}","received_events_url":"https://api.github.com/users/superpoincare/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T08:08:42Z","updated_at":"2015-12-29T08:08:42Z","body":"I am having a similar issue, although somewhat simpler: \r\n\r\n```\r\n.entry-content blockquote,\r\n.comment-content blockquote {\r\n\tmargin-bottom: 24px;\r\n\tmargin-bottom: 1.714285714rem;\r\n\tpadding: 24px;\r\n\tpadding: 1.714285714rem;\r\n\tfont-style: italic;\r\n}\r\n\r\n.\r\n.\r\n.\r\n\r\n.entry-content blockquote,\r\n.comment-content blockquote {\r\n\tborder-left: 1px solid #d9d9d9;\r\n\tborder-left: 1px solid rgba(68, 68, 68, 0.2);\r\n\tcolor: #696969;\r\n\tcolor: rgba(68, 68, 68, 0.8);\r\n\tfont-style: normal;\r\n}\r\n```\r\n\r\nshould be \r\n\r\n```\r\n.entry-content blockquote,\r\n.comment-content blockquote {\r\n\tmargin-bottom: 24px;\r\n\tmargin-bottom: 1.714285714rem;\r\n\tpadding: 24px;\r\n\tpadding: 1.714285714rem;\r\n\tborder-left: 1px solid #d9d9d9;\r\n\tborder-left: 1px solid rgba(68, 68, 68, 0.2);\r\n\tcolor: #696969;\r\n\tcolor: rgba(68, 68, 68, 0.8);\r\n}\r\n```\r\n\r\nbut instead I see them separated. \r\n"}}