mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Auto merge of #26484 - servo:layout-2020-style-prep, r=SimonSapin
Implement concept of dirty root
This commit is contained in:
commit
79b6758cb9
16 changed files with 294 additions and 97 deletions
|
@ -63,7 +63,8 @@ pub fn traverse_dom<E, D>(
|
|||
traversal: &D,
|
||||
token: PreTraverseToken<E>,
|
||||
pool: Option<&rayon::ThreadPool>,
|
||||
) where
|
||||
) -> E
|
||||
where
|
||||
E: TElement,
|
||||
D: DomTraversal<E>,
|
||||
{
|
||||
|
@ -187,4 +188,6 @@ pub fn traverse_dom<E, D>(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
root
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue