{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss-nested/issues/14","repository_url":"https://api.github.com/repos/postcss/postcss-nested","labels_url":"https://api.github.com/repos/postcss/postcss-nested/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss-nested/issues/14/comments","events_url":"https://api.github.com/repos/postcss/postcss-nested/issues/14/events","html_url":"https://github.com/postcss/postcss-nested/issues/14","id":69443822,"number":14,"title":"Nested parent - grandparent selectors?","user":{"login":"qmmr","id":248396,"avatar_url":"https://avatars.githubusercontent.com/u/248396?v=3","gravatar_id":"","url":"https://api.github.com/users/qmmr","html_url":"https://github.com/qmmr","followers_url":"https://api.github.com/users/qmmr/followers","following_url":"https://api.github.com/users/qmmr/following{/other_user}","gists_url":"https://api.github.com/users/qmmr/gists{/gist_id}","starred_url":"https://api.github.com/users/qmmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qmmr/subscriptions","organizations_url":"https://api.github.com/users/qmmr/orgs","repos_url":"https://api.github.com/users/qmmr/repos","events_url":"https://api.github.com/users/qmmr/events{/privacy}","received_events_url":"https://api.github.com/users/qmmr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/postcss/postcss-nested/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-19T17:04:39Z","updated_at":"2016-05-18T11:13:35Z","closed_at":"2015-05-08T23:43:23Z","body":"Currently, we're not able to reference the _grandparent_ of the current selector.\r\n\r\n```css\r\n.item {\r\n    display: block;\r\n\r\n    &__view {\r\n        display: block;\r\n    }\r\n\r\n    &--edit {\r\n        & &__view {\r\n            display: none;\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nOutput:\r\n```css\r\n.item {\r\n    display: block\r\n}\r\n.item__view {\r\n    display: block;\r\n}\r\n.item--edit .item--edit__view {\r\n    display: none;\r\n}\r\n```\r\n\r\nCan we have something like `&&` for grandparent selector? So that the following code\r\n\r\n```css\r\n.item {\r\n    display: block;\r\n\r\n    &__view {\r\n        display: block;\r\n    }\r\n\r\n    &--edit {\r\n        & &&__view {\r\n            display: none;\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nOutput:\r\n```css\r\n.item {\r\n    display: block\r\n}\r\n.item__view {\r\n    display: block;\r\n}\r\n.item--edit .item__view {\r\n    display: none;\r\n}\r\n```\r\n\r\nI've created a [branch for this in my fork](https://github.com/qmmr/postcss-nested/pull/1)."},"comment":{"url":"https://api.github.com/repos/postcss/postcss-nested/issues/comments/219995968","html_url":"https://github.com/postcss/postcss-nested/issues/14#issuecomment-219995968","issue_url":"https://api.github.com/repos/postcss/postcss-nested/issues/14","id":219995968,"user":{"login":"toomuchdesign","id":4573549,"avatar_url":"https://avatars.githubusercontent.com/u/4573549?v=3","gravatar_id":"","url":"https://api.github.com/users/toomuchdesign","html_url":"https://github.com/toomuchdesign","followers_url":"https://api.github.com/users/toomuchdesign/followers","following_url":"https://api.github.com/users/toomuchdesign/following{/other_user}","gists_url":"https://api.github.com/users/toomuchdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/toomuchdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toomuchdesign/subscriptions","organizations_url":"https://api.github.com/users/toomuchdesign/orgs","repos_url":"https://api.github.com/users/toomuchdesign/repos","events_url":"https://api.github.com/users/toomuchdesign/events{/privacy}","received_events_url":"https://api.github.com/users/toomuchdesign/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T11:13:35Z","updated_at":"2016-05-18T11:13:35Z","body":"Sure!"}}