Changes between Version 1 and Version 2 of QtWebKitLayoutInteraction
- Timestamp:
- Nov 15, 2011 6:31:15 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QtWebKitLayoutInteraction
v1 v2 3 3 Basically we want the following: 4 4 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. 7 8 8 9 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. … … 13 14 14 15 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. 16 17 18 Before 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 25 When 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 31 When 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