[Webkit-unassigned] [Bug 64290] The layout of RenderBox should be calculated using fixedLayoutSize instead of viewport when the fixedLayoutSize is set.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 21 08:55:54 PDT 2011


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





--- Comment #6 from Antonio Gomes <tonikitoo at webkit.org>  2011-08-21 08:55:53 PST ---

> No. layoutController.overridePreference() is not helpful because it toggles only settings of WebSettings.
> 
> To turn on the fixedLayoutSize feature, to test this patch, FrameView::setUseFixedLayout(true) have to be called.
> 
> I think there is no easy way to turn on this feature for a single test.

It raises an interesting point. I do not think it should be necessary to set the fixedLayoutSize and set useFixedLayoutSize to TRUE.

Maybe once it is set to something different than 0x0, it should be used.

There could be a logicalLayoutSize in ScrollView that abstracts this for the call sites.

IntSize ScrollView::logicalLayoutSize() const
{
  if (m_fixedLayoutSize.isValid()) // != 0x0, and has non zero values
    return m_fixedLayoutSize;

  return viewportSize;
}

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