mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: Support inline incremental reflow, and stop reconstructing all
flows when mousing over the document. This exposes more "jumpiness" on sites like Hacker News, but the bug that causes it was pre-existing.
This commit is contained in:
parent
90aacf00f8
commit
72f031e2a1
6 changed files with 57 additions and 44 deletions
|
@ -170,7 +170,7 @@ impl<'a> PreorderDomTraversal for RecalcStyleForNode<'a> {
|
|||
&some_bf,
|
||||
&mut applicable_declarations,
|
||||
&mut shareable);
|
||||
} else {
|
||||
} else if node.has_changed() {
|
||||
ThreadSafeLayoutNode::new(&node).set_restyle_damage(
|
||||
incremental::rebuild_and_reflow())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue