{"action":"created","issue":{"url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/297","repository_url":"https://api.github.com/repos/MoOx/postcss-cssnext","labels_url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/297/comments","events_url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/297/events","html_url":"https://github.com/MoOx/postcss-cssnext/issues/297","id":167224856,"number":297,"title":"nested selectors doesn't with custom selectors","user":{"login":"yordis","id":4237280,"avatar_url":"https://avatars.githubusercontent.com/u/4237280?v=3","gravatar_id":"","url":"https://api.github.com/users/yordis","html_url":"https://github.com/yordis","followers_url":"https://api.github.com/users/yordis/followers","following_url":"https://api.github.com/users/yordis/following{/other_user}","gists_url":"https://api.github.com/users/yordis/gists{/gist_id}","starred_url":"https://api.github.com/users/yordis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yordis/subscriptions","organizations_url":"https://api.github.com/users/yordis/orgs","repos_url":"https://api.github.com/users/yordis/repos","events_url":"https://api.github.com/users/yordis/events{/privacy}","received_events_url":"https://api.github.com/users/yordis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MoOx/postcss-cssnext/labels/type:%20bug","name":"type: bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-24T09:16:41Z","updated_at":"2016-08-16T04:51:47Z","closed_at":"2016-08-16T04:51:24Z","body":"I am working in some project and I tried to use custom selector with nested selectors and It didn't work. This is the code used.\r\n```css\r\n@custom-selector :--boa-button .boa-button;\r\n\r\n:--boa-button {\r\n  display: inline-block;\r\n\r\n  &--pressed,\r\n  &--focused {\r\n    background: red;\r\n  }\r\n}\r\n```\r\n\r\nCSS Output\r\n```css\r\n.boa-button {\r\n   display: inline-block;\r\n}\r\n\r\n// Notice that is repeat twice the selector\r\n:--boa-button--pressed,\r\n  :--boa-button--focused,\r\n  :--boa-button--pressed,\r\n  :--boa-button--focused {\r\n  background: red\r\n}\r\n```\r\nConsole Output\r\n```bash\r\nThe selector ':--boa-button--pressed,  :--boa-button--focused' is undefined\r\n```"},"comment":{"url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/comments/240000639","html_url":"https://github.com/MoOx/postcss-cssnext/issues/297#issuecomment-240000639","issue_url":"https://api.github.com/repos/MoOx/postcss-cssnext/issues/297","id":240000639,"user":{"login":"MoOx","id":157534,"avatar_url":"https://avatars.githubusercontent.com/u/157534?v=3","gravatar_id":"","url":"https://api.github.com/users/MoOx","html_url":"https://github.com/MoOx","followers_url":"https://api.github.com/users/MoOx/followers","following_url":"https://api.github.com/users/MoOx/following{/other_user}","gists_url":"https://api.github.com/users/MoOx/gists{/gist_id}","starred_url":"https://api.github.com/users/MoOx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoOx/subscriptions","organizations_url":"https://api.github.com/users/MoOx/orgs","repos_url":"https://api.github.com/users/MoOx/repos","events_url":"https://api.github.com/users/MoOx/events{/privacy}","received_events_url":"https://api.github.com/users/MoOx/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T04:51:47Z","updated_at":"2016-08-16T04:51:47Z","body":"Closed as explained in #298: can't be \"fixed\"."}}
{"actor":{"display_login":"MoOx"}}