Steps to reproduce: 1. Start a youtube video. 2. Click on resize (two-arrow) button to change its size. Results: depending on original size, the video or its bounding view will be scaled incorrectly, with controls misplaced. <rdar://problem/7742659>
Created attachment 50828 [details] proposed fix I've tried using DOM events to make the test work automatically in browser without success.
Comment on attachment 50828 [details] proposed fix Does this hurt performance? r=me
Committed <http://trac.webkit.org/changeset/56079> > Does this hurt performance? The test I performed was putting six YouTube videos on a page and scrolling. This didn't seem to have been affected.
Created attachment 50836 [details] oops, forgot about WebKitTools
Committed WebKitTools changes in <http://trac.webkit.org/changeset/56086>.