{"action":"created","issue":{"url":"https://api.github.com/repos/x-tag/core/issues/116","labels_url":"https://api.github.com/repos/x-tag/core/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/x-tag/core/issues/116/comments","events_url":"https://api.github.com/repos/x-tag/core/issues/116/events","html_url":"https://github.com/x-tag/core/issues/116","id":56826598,"number":116,"title":"Initialization might fail when surrounded by p-element","user":{"login":"ItsAsbreuk","id":1872843,"avatar_url":"https://avatars.githubusercontent.com/u/1872843?v=3","gravatar_id":"","url":"https://api.github.com/users/ItsAsbreuk","html_url":"https://github.com/ItsAsbreuk","followers_url":"https://api.github.com/users/ItsAsbreuk/followers","following_url":"https://api.github.com/users/ItsAsbreuk/following{/other_user}","gists_url":"https://api.github.com/users/ItsAsbreuk/gists{/gist_id}","starred_url":"https://api.github.com/users/ItsAsbreuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ItsAsbreuk/subscriptions","organizations_url":"https://api.github.com/users/ItsAsbreuk/orgs","repos_url":"https://api.github.com/users/ItsAsbreuk/repos","events_url":"https://api.github.com/users/ItsAsbreuk/events{/privacy}","received_events_url":"https://api.github.com/users/ItsAsbreuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-06T15:35:42Z","updated_at":"2015-02-06T17:11:29Z","closed_at":null,"body":"This is a strange issue that we've encountered during development of our own custom elements (non x-tags, sorry).\r\n\r\nYet, it also seems to hit the x-tags - from a quick investigation.\r\n\r\nThe issue seems to be:\r\nWhenever a customelement is wrapped inside a `p-element`, the dom seems to do a miscalculation on **some** child-elements. That is: some childNodes might be missing.\r\n\r\nThe effect can be seen at the [flipbox-demo](https://github.com/x-tag/flipbox/blob/master/demo/testpage.html), when you wrap both `flipboxes` inside a `p`-element. The result is that the first still works, but the second doesn't. It has to do with the presents of the `div`-element - as far as i can see.\r\n\r\nI made a small [jsbin](http://jsbin.com/wigaraweju/2/) to show when the dom fails to see some child-elements --> look at the console to find out that the 3th element seems to be empty.\r\n\r\nEven though i'm not using x-tags, it would be great if you guys know what's going on and find a solution.\r\n\r\nThx,\r\n\r\nMarco Asbreuk"},"comment":{"url":"https://api.github.com/repos/x-tag/core/issues/comments/73274126","html_url":"https://github.com/x-tag/core/issues/116#issuecomment-73274126","issue_url":"https://api.github.com/repos/x-tag/core/issues/116","id":73274126,"user":{"login":"ItsAsbreuk","id":1872843,"avatar_url":"https://avatars.githubusercontent.com/u/1872843?v=3","gravatar_id":"","url":"https://api.github.com/users/ItsAsbreuk","html_url":"https://github.com/ItsAsbreuk","followers_url":"https://api.github.com/users/ItsAsbreuk/followers","following_url":"https://api.github.com/users/ItsAsbreuk/following{/other_user}","gists_url":"https://api.github.com/users/ItsAsbreuk/gists{/gist_id}","starred_url":"https://api.github.com/users/ItsAsbreuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ItsAsbreuk/subscriptions","organizations_url":"https://api.github.com/users/ItsAsbreuk/orgs","repos_url":"https://api.github.com/users/ItsAsbreuk/repos","events_url":"https://api.github.com/users/ItsAsbreuk/events{/privacy}","received_events_url":"https://api.github.com/users/ItsAsbreuk/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T17:11:29Z","updated_at":"2015-02-06T17:11:29Z","body":"sorry, not mentioned right: it sure looks like a browser-bug of coarse.\r\nbut all browsers seem to behave the same"}}