NEW 15676
[Transforms] iframes/frames have issues when transformed
https://bugs.webkit.org/show_bug.cgi?id=15676
Summary [Transforms] iframes/frames have issues when transformed
Dave Hyatt
Reported 2007-10-24 13:25:26 PDT
We need to figure out how to apply a transform to a widget's drawing.
Attachments
Reduced transformed iframe testcase (54 bytes, text/plain)
2010-07-27 00:52 PDT, Paul Bakaus
no flags
Reduced transformed iframe testcase (74 bytes, text/plain)
2011-01-14 03:22 PST, Paul Bakaus
no flags
simplified test case demonstrating the effect of transform scale on youtube iframe (36 bytes, text/plain)
2013-02-27 03:05 PST, asaf
no flags
Dave Hyatt
Comment 1 2008-09-21 17:35:43 PDT
(1) Need to fix hit testing (2) Need to turn off blitting.
Simon Fraser (smfr)
Comment 2 2008-10-27 16:09:01 PDT
Simon Fraser (smfr)
Comment 3 2010-03-12 21:06:07 PST
*** Bug 34963 has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 4 2010-03-12 21:06:41 PST
Bug 34963 has a testcase.
Paul Bakaus
Comment 5 2010-07-27 00:52:58 PDT
Created attachment 62652 [details] Reduced transformed iframe testcase
Paul Bakaus
Comment 6 2010-07-27 00:56:05 PDT
I have added a reduced testcase that visualizes the most significant bug with iframes. It seems that if you do scale(0.5) on the outer container of the iframe, the iframe will inherit the scale value, scaling it to 0.5 of 0.5 (but strangely ignoring scrollbars, or just not showing them). Weird enough, this does work well in Chrome. Probably must have worked before in a WebKit version?
Simon Fraser (smfr)
Comment 7 2010-11-10 16:51:43 PST
Can no longer load the testcase.
Paul Bakaus
Comment 8 2010-11-16 03:08:25 PST
crap, sorry about that. I will reupload a new test case to another storage asap.
Paul Bakaus
Comment 9 2011-01-14 03:22:51 PST
Created attachment 78922 [details] Reduced transformed iframe testcase updated the link to the testcase, sorry for the long wait!
David Martin
Comment 10 2011-02-11 04:52:44 PST
Workaround for this issue is to set the following CSS property on the containing element i.e. the body tag in the testcase: -webkit-transform-style:preserve-3d;
Mike Lawther
Comment 11 2011-03-27 20:56:15 PDT
asaf
Comment 12 2013-02-27 03:05:35 PST
Created attachment 190481 [details] simplified test case demonstrating the effect of transform scale on youtube iframe
Note You need to log in before you can comment on or make changes to this bug.