{"action":"opened","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/1598","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/1598/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/1598/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/1598/events","html_url":"https://github.com/Polymer/polymer/issues/1598","id":79645071,"number":1598,"title":"::content styling rule should have higher specificity than the distributed element's :host rule","user":{"login":"morethanreal","id":1202776,"avatar_url":"https://avatars.githubusercontent.com/u/1202776?v=3","gravatar_id":"","url":"https://api.github.com/users/morethanreal","html_url":"https://github.com/morethanreal","followers_url":"https://api.github.com/users/morethanreal/followers","following_url":"https://api.github.com/users/morethanreal/following{/other_user}","gists_url":"https://api.github.com/users/morethanreal/gists{/gist_id}","starred_url":"https://api.github.com/users/morethanreal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morethanreal/subscriptions","organizations_url":"https://api.github.com/users/morethanreal/orgs","repos_url":"https://api.github.com/users/morethanreal/repos","events_url":"https://api.github.com/users/morethanreal/events{/privacy}","received_events_url":"https://api.github.com/users/morethanreal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-22T23:02:30Z","updated_at":"2015-05-22T23:02:30Z","closed_at":null,"body":"If `<x-foo>` has this style:\r\n\r\n```css\r\n:host {\r\n  color: blue;\r\n}\r\n```\r\n\r\nAnd `<x-bar>` has this style:\r\n\r\n```css\r\n:host > :content > * {\r\n  color: red;\r\n}\r\n```\r\n\r\nWhen `<x-foo>` is distributed into `<x-bar>` I expect the `<x-foo>` to be red, but it is blue. I can work around this by using a wrapper element around the `<content>` in `<x-bar>`, which makes the `::content` rule more specific."}}