wiki:QtWebKitLayoutInteraction

Version 1 (modified by kenneth@webkit.org, 12 years ago) (diff)

--

Layout and interaction in combination with tiling/resizeToContent is a complicated situation.

Basically we want the following:

a) Fixed layout, inform WebCore of visible area b) Only substitute page when something is ready to be shown.

For a) we need to make sure that we set the viewport size, the useFixedLayout and the layout size before doing *any* layouts. This is currently not handled correctly.

For b) we need to ignore size changed and layouts before we have had our first non-empty visual layout. We are in a transition phase and the dom has been substituted, and for that we need to ignore sending events to the web process such as informing the current visible area.

History is a part for it self, and we need to make sure a.o. things that the stored position and scale are first applied when we have something visible and that we are able to actually scroll to that position.

Rotation should work fine during page transitions, as we suspend before rotating and the relayout for the final viewport will still be guarded by the first non-empty visual layout.