diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2017-11-10 10:51:18 +0100 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2017-11-30 10:42:46 +0000 |
commit | 15b6ab6a20ff7305f2b3558f8450e388148a0312 (patch) | |
tree | 6f2e860f9faf6b2fcc58fd2b2feca70057434960 /tests | |
parent | 3f4daf02723b16e83dfb9bcee654b5c803de1ae8 (diff) |
Process pending resize of view before scroll to anchor by URL fragment
The size of the WebEngineView must be set before navigating to an URL
with fragment for scrolling to the correct position. In some cases the
resizing is scheduled on the event loop and Blink uses wrong size to
calculate position to scroll. Schedule the navigation on the event loop
if the viewport's size is 0 thus it is performed after the potential
resizing is done.
Task-number: QTBUG-54172
Change-Id: I9acbc33748755606082278585c121dd66b4aa02c
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions