{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/1087","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/1087/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/1087/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/1087/events","html_url":"https://github.com/Polymer/polymer/issues/1087","id":53975861,"number":1087,"title":"Style is lost if parent element wraps content of children","user":{"login":"steren","id":360895,"avatar_url":"https://avatars.githubusercontent.com/u/360895?v=3","gravatar_id":"","url":"https://api.github.com/users/steren","html_url":"https://github.com/steren","followers_url":"https://api.github.com/users/steren/followers","following_url":"https://api.github.com/users/steren/following{/other_user}","gists_url":"https://api.github.com/users/steren/gists{/gist_id}","starred_url":"https://api.github.com/users/steren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steren/subscriptions","organizations_url":"https://api.github.com/users/steren/orgs","repos_url":"https://api.github.com/users/steren/repos","events_url":"https://api.github.com/users/steren/events{/privacy}","received_events_url":"https://api.github.com/users/steren/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Polymer/polymer/labels/0.5","name":"0.5","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-10T23:47:24Z","updated_at":"2015-10-23T23:26:53Z","closed_at":"2015-10-23T23:26:53Z","body":"Have a  look to this Plunker:\r\nhttp://plnkr.co/edit/g4wXPXuH9J3ZKD4QTJor?p=preview\r\n\r\nIf in an element, I use this template:\r\n```\r\n  <template>\r\n    <div>\r\n      <content></content>\r\n    </div>\r\n  </template>\r\n```\r\nand in an element that extends it, I style some part:\r\n```\r\n  <template>\r\n    <style>\r\n    polyfill-next-selector { content: 'h2'; }\r\n    ::content h2 { color: red; }\r\n    </style>\r\n    <shadow>\r\n      <content select=\"h2\"></content>\r\n    </shadow>\r\n  </template>\r\n```\r\nThe `h2` is not appearing with the style that the children element should give.\r\nIt appears correctly if I remove the `<div>` around the `<content>` in the parent template.\r\n\r\nAm I doing something wrong? Is this intended behavior? a bug ?"},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/150715015","html_url":"https://github.com/Polymer/polymer/issues/1087#issuecomment-150715015","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/1087","id":150715015,"user":{"login":"tjsavage","id":348551,"avatar_url":"https://avatars.githubusercontent.com/u/348551?v=3","gravatar_id":"","url":"https://api.github.com/users/tjsavage","html_url":"https://github.com/tjsavage","followers_url":"https://api.github.com/users/tjsavage/followers","following_url":"https://api.github.com/users/tjsavage/following{/other_user}","gists_url":"https://api.github.com/users/tjsavage/gists{/gist_id}","starred_url":"https://api.github.com/users/tjsavage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjsavage/subscriptions","organizations_url":"https://api.github.com/users/tjsavage/orgs","repos_url":"https://api.github.com/users/tjsavage/repos","events_url":"https://api.github.com/users/tjsavage/events{/privacy}","received_events_url":"https://api.github.com/users/tjsavage/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T23:26:53Z","updated_at":"2015-10-23T23:26:53Z","body":"Closing this issue due to age and the release of [version 1](https://www.polymer-project.org/1.0/) of Polymer - please feel free to re-open if this is incorrect."}}