RESOLVED CONFIGURATION CHANGED 84666
<iframe> with embedded youtube.com has improper content layout, reflow fixes it
https://bugs.webkit.org/show_bug.cgi?id=84666
Summary <iframe> with embedded youtube.com has improper content layout, reflow fixes it
diabolomaster
Reported 2012-04-23 19:03:13 PDT
Go to http://gregthebusker.com/iframedemo.html Inspect the play icon in the center of the second video. Results: The play icon moves from it's original location. Expected result: the element doesn't move.
Attachments
Alexander Pavlov (apavlov)
Comment 1 2012-04-24 02:53:03 PDT
Actually, the svg button element moves when any of its ancestor elements (up to the iframe document's HTML) is inspected. This happens when the computed style is requested for the focused element (looks like this results in a style update/reflow of the affected document for some reason.)
Antti Koivisto
Comment 2 2012-04-24 03:02:51 PDT
Sounds like a style or layout invalidation bug. Inspecting forces style recalc and/or layout and fixes it. This will need a reduction.
Alexander Pavlov (apavlov)
Comment 3 2012-04-24 03:16:44 PDT
Incidentally, I've just been told about http://stackoverflow.com/questions/10288092/using-google-chrome-web-inspector-changes-page-layout, which reports a similar issue against "display: inline-block" elements.
Karl Dubost
Comment 4 2023-10-30 09:40:16 PDT
Not relevant anymore. It doesn't reproduce.
Note You need to log in before you can comment on or make changes to this bug.