[Webkit-unassigned] [Bug 53546] When frame flattening is on iframe outside viewport is not flattened

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 1 17:16:46 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53546


Misha <Michael.Tyutyunik at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-unassigned at lists.web |Michael.Tyutyunik at nokia.com
                   |kit.org                     |




--- Comment #2 from Misha <Michael.Tyutyunik at nokia.com>  2011-02-01 17:16:46 PST ---
It's the same issue Kenneth has seen in https://bugs.webkit.org/show_bug.cgi?id=36798#c35

What I found is that in bool RenderIFrame::flattenFrame() in the bottom we do 
return absoluteBoundingBoxRect().intersects(IntRect(IntPoint(0, 0), view->contentsSize()));
the comment says: 
// Do not flatten offscreen inner frames during frame flattening.
Firts of all during first layout content size is not set yet, so the result will be false.
Second, what was the intent? Why we don't want to flatten iframe which are outside viewport?
Should I just remove this line and return true?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list