mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
layout_thread: Also reposition elements when reflowing all nodes.
Fixes #15801
This commit is contained in:
parent
072f93e41e
commit
8832b5ab0a
1 changed files with 3 additions and 1 deletions
|
@ -1500,7 +1500,9 @@ impl LayoutThread {
|
|||
|
||||
fn reflow_all_nodes(flow: &mut Flow) {
|
||||
debug!("reflowing all nodes!");
|
||||
flow::mut_base(flow).restyle_damage.insert(REPAINT | STORE_OVERFLOW | REFLOW);
|
||||
flow::mut_base(flow)
|
||||
.restyle_damage
|
||||
.insert(REPAINT | STORE_OVERFLOW | REFLOW | REPOSITION);
|
||||
|
||||
for child in flow::child_iter_mut(flow) {
|
||||
LayoutThread::reflow_all_nodes(child);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue