Changes between Version 1 and Version 2 of QtWebKitLayoutInteraction


Ignore:
Timestamp:
Nov 15, 2011 6:31:15 AM (12 years ago)
Author:
kenneth@webkit.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QtWebKitLayoutInteraction

    v1 v2  
    33Basically we want the following:
    44
    5 a) Fixed layout, inform WebCore of visible area
    6 b) Only substitute page when something is ready to be shown.
     5 a) Fixed layout, inform WebCore of visible area
     6
     7 b) Only substitute page when something is ready to be shown.
    78
    89For 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.
     
    1314
    1415Rotation 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.
     16
     17
     18Before any layout, the following needs to be true:
     19
     20 * viewport size is set correctly
     21 * viewport constrains have been computed (either from viewport meta or an implicit viewport)
     22 * fixed layout is turned on, together with paints entire content and scroll delegation
     23
     24
     25When do we substitute our view:
     26
     27 * first non empty visual layout finished
     28 * page isn't suspended (no interaction with page, nor in background)
     29
     30
     31When we substitute our view, we need to:
     32
     33 * apply content size, scale, history position or (0, 0)
     34 * inform web process of the current visible content rect
     35 * reset interaction engine