{"action":"created","issue":{"url":"https://api.github.com/repos/webcomponents/shadydom/issues/43","repository_url":"https://api.github.com/repos/webcomponents/shadydom","labels_url":"https://api.github.com/repos/webcomponents/shadydom/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/webcomponents/shadydom/issues/43/comments","events_url":"https://api.github.com/repos/webcomponents/shadydom/issues/43/events","html_url":"https://github.com/webcomponents/shadydom/issues/43","id":184326943,"number":43,"title":"insertRow called under shadow DOM results in empty childNodes array on parent","user":{"login":"Maxlufs","id":3827048,"avatar_url":"https://avatars.githubusercontent.com/u/3827048?v=3","gravatar_id":"","url":"https://api.github.com/users/Maxlufs","html_url":"https://github.com/Maxlufs","followers_url":"https://api.github.com/users/Maxlufs/followers","following_url":"https://api.github.com/users/Maxlufs/following{/other_user}","gists_url":"https://api.github.com/users/Maxlufs/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxlufs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxlufs/subscriptions","organizations_url":"https://api.github.com/users/Maxlufs/orgs","repos_url":"https://api.github.com/users/Maxlufs/repos","events_url":"https://api.github.com/users/Maxlufs/events{/privacy}","received_events_url":"https://api.github.com/users/Maxlufs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-20T20:04:30Z","updated_at":"2016-11-04T22:10:36Z","closed_at":null,"body":"This issue is found under shadow DOM v1, this happens both in chromium 53.0.2785 and the polyfill under FF.\n\n``` js\nvar x = document.createElement('div');\nx.attachShadow({mode:'open'});\nvar shadowRoot = x.shadowRoot;\nshadowRoot.appendChild(document.createElement('table'));\nshadowRoot.firstChild.insertRow();\nconsole.log(shadowRoot.firstChild.childElementCount); // correctly return 1\nconsole.log(shadowRoot.firstChild.childNodes); // incorrectly return [ ] instead of [<tbody></tbody>]\n```\n\n`childNodes` returns correct array under v0 implementation.\n`childNodes` returns correct array if `appendChild(document.createElement('tr'))` was used instead.\n"},"comment":{"url":"https://api.github.com/repos/webcomponents/shadydom/issues/comments/258560205","html_url":"https://github.com/webcomponents/shadydom/issues/43#issuecomment-258560205","issue_url":"https://api.github.com/repos/webcomponents/shadydom/issues/43","id":258560205,"user":{"login":"tuespetre","id":4853540,"avatar_url":"https://avatars.githubusercontent.com/u/4853540?v=3","gravatar_id":"","url":"https://api.github.com/users/tuespetre","html_url":"https://github.com/tuespetre","followers_url":"https://api.github.com/users/tuespetre/followers","following_url":"https://api.github.com/users/tuespetre/following{/other_user}","gists_url":"https://api.github.com/users/tuespetre/gists{/gist_id}","starred_url":"https://api.github.com/users/tuespetre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuespetre/subscriptions","organizations_url":"https://api.github.com/users/tuespetre/orgs","repos_url":"https://api.github.com/users/tuespetre/repos","events_url":"https://api.github.com/users/tuespetre/events{/privacy}","received_events_url":"https://api.github.com/users/tuespetre/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T22:10:36Z","updated_at":"2016-11-04T22:10:36Z","body":"I've put in a PR for the 'read' stuff on the family of table-related elements. There will still need to be some work done to properly handle mutation-related things like `deleteRow()`, `deleteCell()`, `deleteTHead()`, etc."}}
{"actor":{"display_login":"tuespetre"}}