mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
force style calculation/element construction for non-incremental mode
This commit is contained in:
parent
3e73475d5b
commit
512764b7da
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ pub trait DomTraversalContext<N: TNode> {
|
|||
/// Note that this is true unconditionally for servo, since it requires to
|
||||
/// bubble the widths bottom-up for all the DOM.
|
||||
fn should_process(&self, node: N) -> bool {
|
||||
node.is_dirty() || node.has_dirty_descendants()
|
||||
opts::get().nonincremental_layout || node.is_dirty() || node.has_dirty_descendants()
|
||||
}
|
||||
|
||||
/// Do an action over the child before pushing him to the work queue.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue