{"action":"created","issue":{"url":"https://api.github.com/repos/sass/libsass/issues/1578","labels_url":"https://api.github.com/repos/sass/libsass/issues/1578/labels{/name}","comments_url":"https://api.github.com/repos/sass/libsass/issues/1578/comments","events_url":"https://api.github.com/repos/sass/libsass/issues/1578/events","html_url":"https://github.com/sass/libsass/issues/1578","id":109325901,"number":1578,"title":"Sass (indented) syntax should treat properties without spaces after the colon as a selector","user":{"login":"cimmanon","id":2333706,"avatar_url":"https://avatars.githubusercontent.com/u/2333706?v=3","gravatar_id":"","url":"https://api.github.com/users/cimmanon","html_url":"https://github.com/cimmanon","followers_url":"https://api.github.com/users/cimmanon/followers","following_url":"https://api.github.com/users/cimmanon/following{/other_user}","gists_url":"https://api.github.com/users/cimmanon/gists{/gist_id}","starred_url":"https://api.github.com/users/cimmanon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cimmanon/subscriptions","organizations_url":"https://api.github.com/users/cimmanon/orgs","repos_url":"https://api.github.com/users/cimmanon/repos","events_url":"https://api.github.com/users/cimmanon/events{/privacy}","received_events_url":"https://api.github.com/users/cimmanon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sass/libsass/labels/Bug%20-%20Confirmed","name":"Bug - Confirmed","color":"e11d21"},{"url":"https://api.github.com/repos/sass/libsass/labels/Dev%20-%20Test%20Written","name":"Dev - Test Written","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-01T15:37:39Z","updated_at":"2015-10-05T01:35:34Z","closed_at":null,"body":"In the official Sass compiler, the following code does not generate hover styles, but it does in Libsass:\r\n\r\n```sass\r\n.img-ornament\r\n  -webkit-transition: all 0.5s ease\r\n  -moz-transition: all 0.5s ease\r\n  -ms-transition: all 0.5s ease\r\n  -o-transition: all 0.5s ease\r\n  transition: all 0.5s ease\r\n  &:hover\r\n    -webkit-transform:scale(0.75)\r\n    -moz-transform:scale(0.75)\r\n    -ms-transform:scale(0.75)\r\n    -o-transform:scale(0.75)\r\n    transform:scale(0.75)\r\n```\r\n\r\nWhen converted to SCSS, the official compiler treats it as this:\r\n\r\n```scss\r\n.img-ornament {\r\n  -webkit-transition: all 0.5s ease;\r\n  -moz-transition: all 0.5s ease;\r\n  -ms-transition: all 0.5s ease;\r\n  -o-transition: all 0.5s ease;\r\n  transition: all 0.5s ease;\r\n  &:hover {\r\n    -webkit-transform:scale(0.75) {}\r\n    -moz-transform:scale(0.75) {}\r\n    -ms-transform:scale(0.75) {}\r\n    -o-transform:scale(0.75) {}\r\n    transform:scale(0.75) {}\r\n  }\r\n}\r\n```\r\n\r\nWithout a space after the colon, there is no way to disambiguate a selector like `foo:not(.bar)` or `foo :not(.bar)` from property declarations that have a similar syntax like `foo: scale(0.75)`.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27091572-sass-indented-syntax-should-treat-properties-without-spaces-after-the-colon-as-a-selector?utm_campaign=plugin&utm_content=tracker%2F283068&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F283068&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/sass/libsass/issues/comments/145409013","html_url":"https://github.com/sass/libsass/issues/1578#issuecomment-145409013","issue_url":"https://api.github.com/repos/sass/libsass/issues/1578","id":145409013,"user":{"login":"xzyfer","id":579928,"avatar_url":"https://avatars.githubusercontent.com/u/579928?v=3","gravatar_id":"","url":"https://api.github.com/users/xzyfer","html_url":"https://github.com/xzyfer","followers_url":"https://api.github.com/users/xzyfer/followers","following_url":"https://api.github.com/users/xzyfer/following{/other_user}","gists_url":"https://api.github.com/users/xzyfer/gists{/gist_id}","starred_url":"https://api.github.com/users/xzyfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xzyfer/subscriptions","organizations_url":"https://api.github.com/users/xzyfer/orgs","repos_url":"https://api.github.com/users/xzyfer/repos","events_url":"https://api.github.com/users/xzyfer/events{/privacy}","received_events_url":"https://api.github.com/users/xzyfer/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T01:35:34Z","updated_at":"2015-10-05T01:35:34Z","body":"Thanks for the report @cimmanon. \r\nSpec added https://github.com/sass/sass-spec/pull/529\r\n\r\n/cc @mgreter this could be a bug with sass2scss"}}