{"action":"created","issue":{"url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/275","labels_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/275/comments","events_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/275/events","html_url":"https://github.com/davidjbradshaw/iframe-resizer/issues/275","id":111838346,"number":275,"title":"Issue with iframe inside a div with display:none in firefox","user":{"login":"LuizPanariello","id":5797527,"avatar_url":"https://avatars.githubusercontent.com/u/5797527?v=3","gravatar_id":"","url":"https://api.github.com/users/LuizPanariello","html_url":"https://github.com/LuizPanariello","followers_url":"https://api.github.com/users/LuizPanariello/followers","following_url":"https://api.github.com/users/LuizPanariello/following{/other_user}","gists_url":"https://api.github.com/users/LuizPanariello/gists{/gist_id}","starred_url":"https://api.github.com/users/LuizPanariello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuizPanariello/subscriptions","organizations_url":"https://api.github.com/users/LuizPanariello/orgs","repos_url":"https://api.github.com/users/LuizPanariello/repos","events_url":"https://api.github.com/users/LuizPanariello/events{/privacy}","received_events_url":"https://api.github.com/users/LuizPanariello/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-16T14:02:25Z","updated_at":"2015-10-16T14:17:14Z","closed_at":null,"body":"When the iframe begins inside a display none div in firefox the height is not applied to the iFrame. I know that in version 3.0 there is changelog that says that this issue has been fixed but I don't know if that was exacly what the case that you guys are testing.\r\n\r\n```html\r\n<div style=\"display:none\">\r\n<iframe src=\"https://local...\"></iframe>\r\n</div>\r\n```\r\n\r\nI'll try to track the problem and commit it.\r\nThanks"},"comment":{"url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/comments/148729641","html_url":"https://github.com/davidjbradshaw/iframe-resizer/issues/275#issuecomment-148729641","issue_url":"https://api.github.com/repos/davidjbradshaw/iframe-resizer/issues/275","id":148729641,"user":{"login":"LuizPanariello","id":5797527,"avatar_url":"https://avatars.githubusercontent.com/u/5797527?v=3","gravatar_id":"","url":"https://api.github.com/users/LuizPanariello","html_url":"https://github.com/LuizPanariello","followers_url":"https://api.github.com/users/LuizPanariello/followers","following_url":"https://api.github.com/users/LuizPanariello/following{/other_user}","gists_url":"https://api.github.com/users/LuizPanariello/gists{/gist_id}","starred_url":"https://api.github.com/users/LuizPanariello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuizPanariello/subscriptions","organizations_url":"https://api.github.com/users/LuizPanariello/orgs","repos_url":"https://api.github.com/users/LuizPanariello/repos","events_url":"https://api.github.com/users/LuizPanariello/events{/privacy}","received_events_url":"https://api.github.com/users/LuizPanariello/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T14:17:14Z","updated_at":"2015-10-16T14:17:14Z","body":"Actually no, the parent div should be height:0 and out of the box sizing but when you change the display to block, nothing happens, in chrome, parent height is 0 but iframe is updated with the height and than the parent div when switched to display:block it gets its children size."}}