Bug 97937 - Losing scroll position when using horizontal-bt or vertical-rl layout
Summary: Losing scroll position when using horizontal-bt or vertical-rl layout
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 62048
  Show dependency treegraph
 
Reported: 2012-09-28 13:40 PDT by Kenneth Rohde Christiansen
Modified: 2017-07-18 08:30 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Rohde Christiansen 2012-09-28 13:40:24 PDT
This is related to bug 97706. Basically we cannot postpone applying scroll changes for RenderBlocks with opposite writing mode.

A BT or RL layer needs to have its overflow, overflow in the opposite than the normal direction and it should thus be moved (scroll position change) to account for this. The flex box code does a 2-pass layout, one layout "without scrollbars" to find the actual size, and then one at the final size.

Postponing this initial "position correction" and applying it later as a scroll offset breaks layouts, as it is not really a scroll position offset.