{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/7868","labels_url":"https://api.github.com/repos/servo/servo/issues/7868/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/7868/comments","events_url":"https://api.github.com/repos/servo/servo/issues/7868/events","html_url":"https://github.com/servo/servo/issues/7868","id":109766524,"number":7868,"title":"iframe flickering and high CPU usage","user":{"login":"paulrouget","id":373579,"avatar_url":"https://avatars.githubusercontent.com/u/373579?v=3","gravatar_id":"","url":"https://api.github.com/users/paulrouget","html_url":"https://github.com/paulrouget","followers_url":"https://api.github.com/users/paulrouget/followers","following_url":"https://api.github.com/users/paulrouget/following{/other_user}","gists_url":"https://api.github.com/users/paulrouget/gists{/gist_id}","starred_url":"https://api.github.com/users/paulrouget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulrouget/subscriptions","organizations_url":"https://api.github.com/users/paulrouget/orgs","repos_url":"https://api.github.com/users/paulrouget/repos","events_url":"https://api.github.com/users/paulrouget/events{/privacy}","received_events_url":"https://api.github.com/users/paulrouget/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/A-gfx/compositing","name":"A-gfx/compositing","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-05T10:08:00Z","updated_at":"2015-10-08T14:19:54Z","closed_at":null,"body":"In browser.html, moving the mouse outside of the iframe makes the iframe flicker a lot.\r\n\r\nThis minimal test case shows some flickering. Load the page, then move the mouse over the red element (not the iframe). The iframe flickers once in a while. It's not as obvious as in browser.html, but still easy to see.\r\n\r\n[See these logs](https://gist.github.com/paulrouget/76f8c350f5613721e631). Passed the initial load, the only thing that happens is the mouse hovering some text outside of the iframe. But I see layout/reflow operations, for both documents. Not sure if that suppose to happen. The flickering happens somewhere in the 2 last seconds.\r\n\r\n**Edit:** Adding a `requestAnimationFrame` loop makes the flickering obvious. I've updated the example.\r\n\r\n```html\r\n<iframe src='http://example.com'></iframe>\r\n\r\n<script>\r\n  var s = () => requestAnimationFrame(s);\r\n  s();\r\n</script>\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/146560607","html_url":"https://github.com/servo/servo/issues/7868#issuecomment-146560607","issue_url":"https://api.github.com/repos/servo/servo/issues/7868","id":146560607,"user":{"login":"jdm","id":27658,"avatar_url":"https://avatars.githubusercontent.com/u/27658?v=3","gravatar_id":"","url":"https://api.github.com/users/jdm","html_url":"https://github.com/jdm","followers_url":"https://api.github.com/users/jdm/followers","following_url":"https://api.github.com/users/jdm/following{/other_user}","gists_url":"https://api.github.com/users/jdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdm/subscriptions","organizations_url":"https://api.github.com/users/jdm/orgs","repos_url":"https://api.github.com/users/jdm/repos","events_url":"https://api.github.com/users/jdm/events{/privacy}","received_events_url":"https://api.github.com/users/jdm/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T14:19:54Z","updated_at":"2015-10-08T14:19:54Z","body":"On the other hand, perhaps we could short-circuit in `Constellation::handle_frame_size_msg` instead when assigning to `pipeline.size`."}}