CLOSED FIXED 36662
Add support for iframe flattening
https://bugs.webkit.org/show_bug.cgi?id=36662
Summary Add support for iframe flattening
Kenneth Rohde Christiansen
Reported 2010-03-26 07:52:34 PDT
Created attachment 51741 [details] Patch Add support for expanding iframes to their contents, just as done on the iPhone.
Attachments
Patch (38.15 KB, patch)
2010-03-26 07:52 PDT, Kenneth Rohde Christiansen
no flags
Patch 2 (should build on mac, win etc) (54.50 KB, patch)
2010-03-26 10:49 PDT, Kenneth Rohde Christiansen
no flags
follow up patch for "patch 2" (3.54 KB, patch)
2010-03-26 11:45 PDT, Csaba Osztrogonác
koivisto: review-
Patch 2b (should build on mac, win etc) (54.50 KB, patch)
2010-03-26 13:01 PDT, Csaba Osztrogonác
koivisto: review-
Patch (56.40 KB, patch)
2010-03-29 06:54 PDT, Kenneth Rohde Christiansen
no flags
Kenneth Rohde Christiansen
Comment 1 2010-03-26 07:54:00 PDT
After landed we will probably need to rebase the test results with our Qt buildbot.
Simon Hausmann
Comment 2 2010-03-26 07:55:53 PDT
(In reply to comment #1) > After landed we will probably need to rebase the test results with our Qt > buildbot. When you do that, please let me know which revisions for the test result fixes need to be cherry-picked.
Eric Seidel (no email)
Comment 3 2010-03-26 08:00:21 PDT
Antti Koivisto
Comment 4 2010-03-26 08:11:08 PDT
Comment on attachment 51741 [details] Patch Looks good, r=me I don't have any really substantial comments just one naming objection: > - if (flattenFrameSet()) > + if (shouldResizeFramesToContent()) > positionFramesWithFlattening(); Why this renaming? The naming was discussed quite a bit, lets stick with the "flatten" terminology now. You now have shouldResizeFramesToContent() method in both RenderFrameSet and RenderPartObject (with rather different semantics), even though those are not really related classes. Why do they need to have same names? Why not stick with RenderFrameSet::flattenFrameSet() and add RenderPartObject::flattenFrame() or similar?
Kenneth Rohde Christiansen
Comment 5 2010-03-26 10:49:31 PDT
Created attachment 51760 [details] Patch 2 (should build on mac, win etc)
Eric Seidel (no email)
Comment 6 2010-03-26 11:02:11 PDT
Csaba Osztrogonác
Comment 7 2010-03-26 11:45:34 PDT
Created attachment 51767 [details] follow up patch for "patch 2"
Kenneth Rohde Christiansen
Comment 8 2010-03-26 11:46:46 PDT
Comment on attachment 51767 [details] follow up patch for "patch 2" We will put it on the cq when the other land.
Csaba Osztrogonác
Comment 9 2010-03-26 13:01:32 PDT
Created attachment 51773 [details] Patch 2b (should build on mac, win etc) Uploaded for Kenneth with Mac fix: -__ZN7WebCore8Settings28setFrameFlatteningEnabledEb +__ZN7WebCore8Settings25setFrameFlatteningEnabledEb
Antti Koivisto
Comment 10 2010-03-29 06:52:02 PDT
Comment on attachment 51767 [details] follow up patch for "patch 2" Please upload one patch that works without having to patch it again with a second one.
Kenneth Rohde Christiansen
Comment 11 2010-03-29 06:54:07 PDT
Kenneth Rohde Christiansen
Comment 12 2010-03-29 08:35:40 PDT
Comment on attachment 51904 [details] Patch Landed in 56718
Csaba Osztrogonác
Comment 13 2010-03-29 09:33:46 PDT
(In reply to comment #11) > Created an attachment (id=51904) [details] > Patch Mac expected files updated: http://trac.webkit.org/changeset/56720 http://trac.webkit.org/changeset/56722
Eric Seidel (no email)
Comment 14 2010-03-29 11:38:05 PDT
Comment on attachment 51741 [details] Patch Cleared Antti Koivisto's review+ from obsolete attachment 51741 [details] so that this bug does not appear in http://webkit.org/pending-commit.
Eric Seidel (no email)
Comment 15 2010-03-29 11:38:09 PDT
Comment on attachment 51904 [details] Patch Cleared Antti Koivisto's review+ from obsolete attachment 51904 [details] so that this bug does not appear in http://webkit.org/pending-commit.
Simon Hausmann
Comment 16 2010-03-30 05:09:59 PDT
cherry-pick-for-backport: <r56718>
Simon Hausmann
Comment 17 2010-03-30 05:10:23 PDT
cherry-pick-for-backport: <r56720>
Simon Hausmann
Comment 18 2010-03-30 05:10:43 PDT
cherry-pick-for-backport: <r56722>
Simon Hausmann
Comment 19 2010-03-30 07:10:13 PDT
Revision r56718 cherry-picked into qtwebkit-2.0 with commit b74f1de36d3e514dc6e1d6293cd7834286071380
Simon Hausmann
Comment 20 2010-03-30 07:10:25 PDT
Revision r56720 cherry-picked into qtwebkit-2.0 with commit eb76591b64df4c459a9b291a85163f09748a4c98
Simon Hausmann
Comment 21 2010-03-30 07:10:36 PDT
Revision r56722 cherry-picked into qtwebkit-2.0 with commit bb360f64ed44718420472bdcc41a8060e0bfc1b8
Note You need to log in before you can comment on or make changes to this bug.