{"action":"closed","issue":{"url":"https://api.github.com/repos/peterbe/minimalcss/issues/39","repository_url":"https://api.github.com/repos/peterbe/minimalcss","labels_url":"https://api.github.com/repos/peterbe/minimalcss/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/peterbe/minimalcss/issues/39/comments","events_url":"https://api.github.com/repos/peterbe/minimalcss/issues/39/events","html_url":"https://github.com/peterbe/minimalcss/issues/39","id":272586511,"number":39,"title":"Choking on `:ActiveHover`","user":{"login":"peterbe","id":26739,"avatar_url":"https://avatars2.githubusercontent.com/u/26739?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbe","html_url":"https://github.com/peterbe","followers_url":"https://api.github.com/users/peterbe/followers","following_url":"https://api.github.com/users/peterbe/following{/other_user}","gists_url":"https://api.github.com/users/peterbe/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbe/subscriptions","organizations_url":"https://api.github.com/users/peterbe/orgs","repos_url":"https://api.github.com/users/peterbe/repos","events_url":"https://api.github.com/users/peterbe/events{/privacy}","received_events_url":"https://api.github.com/users/peterbe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-09T14:37:58Z","updated_at":"2017-11-09T14:53:37Z","closed_at":"2017-11-09T14:53:37Z","author_association":"OWNER","body":"Found this piece of CSS from a SemanticUI project:\r\n```css\r\n/*-------------------\r\n     Active Hover\r\n--------------------*/\r\n\r\na.ui.labels .active.label:hover,\r\na.ui.active.label:hover {\r\n  background-color: #C8C8C8;\r\n  border-color: #C8C8C8;\r\n  background-image: none;\r\n  color: rgba(0, 0, 0, 0.95);\r\n}\r\n.ui.labels a.active.label:ActiveHover:before,\r\na.ui.active.label:ActiveHover:before {\r\n  background-color: #C8C8C8;\r\n  background-image: none;\r\n  color: rgba(0, 0, 0, 0.95);\r\n}\r\n```\r\n\r\nminimalcss chokes on this:\r\n\r\n```\r\nError: Evaluation failed: Error: Unable to querySelector('.ui.labels a.active.label:ActiveHover:before') [SyntaxError: Failed to execute 'querySelector' on 'Document': '.ui.labels a.active.label:ActiveHover:before' is not a valid selector.]\r\n    at objsCleaned.(anonymous function).selector (<anonymous>:158:21)\r\n    at values.filter.selectorString (<anonymous>:75:30)\r\n    at Array.filter (<anonymous>)\r\n    at children.filter.child (<anonymous>:71:41)\r\n    at Array.filter (<anonymous>)\r\n    at clean (<anonymous>:68:27)\r\n    at cleaner (<anonymous>:105:24)\r\n    at links.filter.forEach.stylesheet (<anonymous>:134:42)\r\n    at Array.forEach (<anonymous>)\r\n    at stylesheetAstObjects (<anonymous>:124:10)\r\n    at Frame._rawEvaluate (/Users/peterbe/dev/JAVASCRIPT/minimalcss/node_modules/puppeteer/lib/FrameManager.js:250:13)\r\n    at <anonymous>\r\n    at process._tickCallback (internal/process/next_tick.js:188:7)\r\n```"}}
{"actor":{"display_login":"peterbe"}}