{"action":"closed","issue":{"url":"https://api.github.com/repos/css/csso/issues/306","repository_url":"https://api.github.com/repos/css/csso","labels_url":"https://api.github.com/repos/css/csso/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/css/csso/issues/306/comments","events_url":"https://api.github.com/repos/css/csso/issues/306/events","html_url":"https://github.com/css/csso/issues/306","id":162158465,"number":306,"title":"minfiy with restructure removes duplicate cursor","user":{"login":"bgotink","id":821510,"avatar_url":"https://avatars.githubusercontent.com/u/821510?v=3","gravatar_id":"","url":"https://api.github.com/users/bgotink","html_url":"https://github.com/bgotink","followers_url":"https://api.github.com/users/bgotink/followers","following_url":"https://api.github.com/users/bgotink/following{/other_user}","gists_url":"https://api.github.com/users/bgotink/gists{/gist_id}","starred_url":"https://api.github.com/users/bgotink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgotink/subscriptions","organizations_url":"https://api.github.com/users/bgotink/orgs","repos_url":"https://api.github.com/users/bgotink/repos","events_url":"https://api.github.com/users/bgotink/events{/privacy}","received_events_url":"https://api.github.com/users/bgotink/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/css/csso/labels/broken%20fallback","name":"broken fallback","color":"e11d21"},{"url":"https://api.github.com/repos/css/csso/labels/needs%20improvement","name":"needs improvement","color":"006b75"},{"url":"https://api.github.com/repos/css/csso/labels/structural%20optimization","name":"structural optimization","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-24T14:23:40Z","updated_at":"2016-07-24T13:09:40Z","closed_at":"2016-07-24T13:09:40Z","body":"I'm using something like this\r\n\r\n```css\r\n.drag-and-drop__handle {\r\n  cursor: url('cursors/grag.cur'), move;\r\n  cursor: grab;\r\n}\r\n\r\n.drag-and-drop--dragging .drag-and-drop__handle {\r\n  cursor: url('cursors/grabbing.cur'), move;\r\n  cursor: grabbing;\r\n}\r\n```\r\n\r\nto add a grab/grabbing cursor to a drag and drop handle. We need the `url(...)` fallback for IE and Edge, which don't support the `grab`/`grabbing` cursors.\r\n\r\nCSSO minification (with restructuring enabled) removes the first cursor line, which breaks the experience for IE.\r\nI can use a workaround with two classes, each containing one cursor, but then the code readability incurs a loss. Would it be possible to add some way to explicitly allow _some_ duplicate CSS properties? (e.g. by allowing all duplicate `cursor`s using configuration or using comment directives cf. `/* csso: ignore duplicate */` to allow duplicates on a case per case basis)"}}
{"actor":{"display_login":"lahmatiy"}}