{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webcomponents/issues/331","labels_url":"https://api.github.com/repos/w3c/webcomponents/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webcomponents/issues/331/comments","events_url":"https://api.github.com/repos/w3c/webcomponents/issues/331/events","html_url":"https://github.com/w3c/webcomponents/issues/331","id":108601446,"number":331,"title":"Define the behavior of '::slotted' (the former name is '::content').","user":{"login":"hayatoito","id":160288,"avatar_url":"https://avatars.githubusercontent.com/u/160288?v=3","gravatar_id":"","url":"https://api.github.com/users/hayatoito","html_url":"https://github.com/hayatoito","followers_url":"https://api.github.com/users/hayatoito/followers","following_url":"https://api.github.com/users/hayatoito/following{/other_user}","gists_url":"https://api.github.com/users/hayatoito/gists{/gist_id}","starred_url":"https://api.github.com/users/hayatoito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayatoito/subscriptions","organizations_url":"https://api.github.com/users/hayatoito/orgs","repos_url":"https://api.github.com/users/hayatoito/repos","events_url":"https://api.github.com/users/hayatoito/events{/privacy}","received_events_url":"https://api.github.com/users/hayatoito/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/webcomponents/labels/shadow-dom","name":"shadow-dom","color":"207de5"},{"url":"https://api.github.com/repos/w3c/webcomponents/labels/v1","name":"v1","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-28T07:21:14Z","updated_at":"2015-12-18T06:17:10Z","closed_at":null,"body":"Let's define the behavior of `::slotted` (a tentative name).\r\nI am aware that CSS Scoping should define it, but let's have a rough consensus here.\r\n\r\nI remember that I had discussion, maybe in www-style?, that we should make `::content` take only a simple selector, instead of a selector. Polymer guys told us that styling a *direct child* of an insertion point is the only use case of `::content` in Polymer.\r\n\r\ne.g.\r\n`::content(div)`\r\n\r\nThat should be interpreted as `::content > div` in the previous syntax.\r\n\r\nWe no longer support a selector as its argument, like `::content(div p)`\r\n\r\nWe might want to make `::slotted` have this restriction because this makes the implementation simpler.\r\n\r\nSee also https://github.com/w3c/webcomponents/issues/308#issuecomment-143655347 because the definition of `::slotted` will depend on those incoming changes.\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/webcomponents/issues/comments/165682614","html_url":"https://github.com/w3c/webcomponents/issues/331#issuecomment-165682614","issue_url":"https://api.github.com/repos/w3c/webcomponents/issues/331","id":165682614,"user":{"login":"hayatoito","id":160288,"avatar_url":"https://avatars.githubusercontent.com/u/160288?v=3","gravatar_id":"","url":"https://api.github.com/users/hayatoito","html_url":"https://github.com/hayatoito","followers_url":"https://api.github.com/users/hayatoito/followers","following_url":"https://api.github.com/users/hayatoito/following{/other_user}","gists_url":"https://api.github.com/users/hayatoito/gists{/gist_id}","starred_url":"https://api.github.com/users/hayatoito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayatoito/subscriptions","organizations_url":"https://api.github.com/users/hayatoito/orgs","repos_url":"https://api.github.com/users/hayatoito/repos","events_url":"https://api.github.com/users/hayatoito/events{/privacy}","received_events_url":"https://api.github.com/users/hayatoito/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T06:17:10Z","updated_at":"2015-12-18T06:17:10Z","body":"In general, you cannot target text nodes with CSS. :)"}}