Bug 15676 - [Transforms] iframes/frames have issues when transformed
: [Transforms] iframes/frames have issues when transformed
Status: NEW
: WebKit
Layout and Rendering
: 523.x (Safari 3)
: Macintosh Mac OS X 10.4
: P2 Normal
Assigned To:
:
:
:
: 15670
  Show dependency treegraph
 
Reported: 2007-10-24 13:25 PST by
Modified: 2013-02-27 03:05 PST (History)


Attachments
Reduced transformed iframe testcase (54 bytes, url)
2010-07-27 00:52 PST, Paul Bakaus
no flags Details
Reduced transformed iframe testcase (74 bytes, url)
2011-01-14 03:22 PST, Paul Bakaus
no flags Details
simplified test case demonstrating the effect of transform scale on youtube iframe (36 bytes, url)
2013-02-27 03:05 PST, asaf
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-10-24 13:25:26 PST
We need to figure out how to apply a transform to a widget's drawing.
------- Comment #1 From 2008-09-21 17:35:43 PST -------
(1) Need to fix hit testing

(2) Need to turn off blitting.
------- Comment #2 From 2008-10-27 16:09:01 PST -------
<rdar://problem/6323865>
------- Comment #3 From 2010-03-12 21:06:07 PST -------
*** Bug 34963 has been marked as a duplicate of this bug. ***
------- Comment #4 From 2010-03-12 21:06:41 PST -------
Bug 34963 has a testcase.
------- Comment #5 From 2010-07-27 00:52:58 PST -------
Created an attachment (id=62652) [details]
Reduced transformed iframe testcase
------- Comment #6 From 2010-07-27 00:56:05 PST -------
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?
------- Comment #7 From 2010-11-10 16:51:43 PST -------
Can no longer load the testcase.
------- Comment #8 From 2010-11-16 03:08:25 PST -------
crap, sorry about that. I will reupload a new test case to another storage asap.
------- Comment #9 From 2011-01-14 03:22:51 PST -------
Created an attachment (id=78922) [details]
Reduced transformed iframe testcase

updated the link to the testcase, sorry for the long wait!
------- Comment #10 From 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;
------- Comment #11 From 2011-03-27 20:56:15 PST -------
Reduced test from attachment is at http://ve.v55ylnwk.vesrv.com/testcases/safari_iframe_nested_css_transform/
------- Comment #12 From 2013-02-27 03:05:35 PST -------
Created an attachment (id=190481) [details]
simplified test case demonstrating the effect of transform scale on youtube iframe