mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Implement concept of dirty root
This commit is contained in:
parent
518c0660c6
commit
036f123c4e
11 changed files with 251 additions and 64 deletions
|
@ -193,6 +193,8 @@ pub struct ScriptReflow {
|
|||
pub reflow_info: Reflow,
|
||||
/// The document node.
|
||||
pub document: TrustedNodeAddress,
|
||||
/// The dirty root from which to restyle.
|
||||
pub dirty_root: Option<TrustedNodeAddress>,
|
||||
/// Whether the document's stylesheets have changed since the last script reflow.
|
||||
pub stylesheets_changed: bool,
|
||||
/// The current window size.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue