[Webkit-unassigned] [Bug 61491] Frame flattening is broken with nested frames

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 1 17:22:59 PDT 2011


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





--- Comment #35 from Kenneth Rohde Christiansen <kenneth at webkit.org>  2011-06-01 17:22:59 PST ---
(In reply to comment #34)
> (In reply to comment #33)
> > (In reply to comment #32)
> > > (In reply to comment #31)
> > > > (From update of attachment 95675 [details] [details] [details] [details])
> > > > View in context: https://bugs.webkit.org/attachment.cgi?id=95675&action=review
> > > > 
> > > > > LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll.html:12
> > > > > +                scrollTo(1200, 0);
> > > > 
> > > > shouldnt you do something to invalidate the layout and force relayout?
> > > 
> > > Not sure what you mean?
> > > As asked in comment #29, I scroll the frame into the view so one can see that the iframes have been flattened.
> > 
> > But that doesnt mean that it is going to get re-laid out. There is a trick to touch some css property and it will invalidate and relayout... I think you will find that in some of the frame flattening tests
> 
> The idea is that it was flattened while off screen, and not re-laid out after scrolling into view.

But if a relayout happens now that it is visible, you need to make sure it is still flattened right. So maybe that is yet another test.

You can force a relayout by doing the following:

var ignoreMe = document.body.offsetWidth;

Just accessing that value should force a relayout (grep in other tests for more examples)

-- 
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