{"action":"created","issue":{"url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/338","repository_url":"https://api.github.com/repos/webcomponents/webcomponentsjs","labels_url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/338/comments","events_url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/338/events","html_url":"https://github.com/webcomponents/webcomponentsjs/issues/338","id":90630952,"node_id":"MDU6SXNzdWU5MDYzMDk1Mg==","number":338,"title":"Shadow DOM doesn't work inside foreignObject element of SVG on browsers other than Google Chrome","user":{"login":"Saneyan","id":1273247,"node_id":"MDQ6VXNlcjEyNzMyNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/1273247?v=4","gravatar_id":"","url":"https://api.github.com/users/Saneyan","html_url":"https://github.com/Saneyan","followers_url":"https://api.github.com/users/Saneyan/followers","following_url":"https://api.github.com/users/Saneyan/following{/other_user}","gists_url":"https://api.github.com/users/Saneyan/gists{/gist_id}","starred_url":"https://api.github.com/users/Saneyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saneyan/subscriptions","organizations_url":"https://api.github.com/users/Saneyan/orgs","repos_url":"https://api.github.com/users/Saneyan/repos","events_url":"https://api.github.com/users/Saneyan/events{/privacy}","received_events_url":"https://api.github.com/users/Saneyan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2015-06-24T10:05:47Z","updated_at":"2018-09-17T16:42:16Z","closed_at":"2018-09-17T16:42:16Z","author_association":"NONE","body":"I try to use Shadow DOM inside foreignObject of SVG, but browsers other than Google Chrome don't work Shadow DOM well.\n\nHere is a part of HTML:\n\n``` html\n<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.1\" width=\"1920\" height=\"1080\" viewBox=\"0 0 1920 1080\">\n  <line x1=\"100\" y1=\"250\" x2=\"500\" y2=\"250\" style=\"stroke:rgb(255,0,0);stroke-width:2\">\n  <foreignObject>\n    <object-label></object-label>\n    <object-label style=\"left: 500px\"></object-label>\n  </foreignObject>\n</svg>\n```\n\nThe `object-label` is a custom element which is registered by Polymer. Of course, the custom element works outside SVG (not inside foreginObject).\n\nIs this bug?\nThanks.\n"},"comment":{"url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/comments/422086718","html_url":"https://github.com/webcomponents/webcomponentsjs/issues/338#issuecomment-422086718","issue_url":"https://api.github.com/repos/webcomponents/webcomponentsjs/issues/338","id":422086718,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjA4NjcxOA==","user":{"login":"TimvdLippe","id":5948271,"node_id":"MDQ6VXNlcjU5NDgyNzE=","avatar_url":"https://avatars3.githubusercontent.com/u/5948271?v=4","gravatar_id":"","url":"https://api.github.com/users/TimvdLippe","html_url":"https://github.com/TimvdLippe","followers_url":"https://api.github.com/users/TimvdLippe/followers","following_url":"https://api.github.com/users/TimvdLippe/following{/other_user}","gists_url":"https://api.github.com/users/TimvdLippe/gists{/gist_id}","starred_url":"https://api.github.com/users/TimvdLippe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimvdLippe/subscriptions","organizations_url":"https://api.github.com/users/TimvdLippe/orgs","repos_url":"https://api.github.com/users/TimvdLippe/repos","events_url":"https://api.github.com/users/TimvdLippe/events{/privacy}","received_events_url":"https://api.github.com/users/TimvdLippe/received_events","type":"User","site_admin":false},"created_at":"2018-09-17T16:42:16Z","updated_at":"2018-09-17T16:42:16Z","author_association":"CONTRIBUTOR","body":"Thanks for the issue. It has been a great while since this issue was opened. Sadly, this issue misses a live reproduction with the most recent version of the webcomponents polyfill for us to be able to debug and potentially fix. Versions 1 of the polyfills fix a large amount of issues, probably including this one as well.\r\n\r\nPlease see [the CONTRIBUTING.md](https://github.com/webcomponents/webcomponentsjs/blob/master/CONTRIBUTING.md) for guidelines on filing issues.  You can start from [this jsBin template](http://jsbin.com/birajez/edit?html,console,output) as a starting point and link it in the issue template under \"Live Demo\".\r\n\r\nFeel free to file a new issue following these instructions if you can still reproduce this issue with versions 1 of the polyfills.  Thank you!"}}
{"actor":{"display_login":"TimvdLippe"}}