aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface
diff options
context:
space:
mode:
authorAnthony Ramine <nox@nox.paris>2020-04-27 17:54:06 +0200
committerAnthony Ramine <nox@nox.paris>2020-05-19 16:26:36 +0200
commit036f123c4ee61f72fd123cc0c624df9d604cbb93 (patch)
treed83f5dcae9d96f40d3b0174ba91d0ca0046b5f80 /components/script_layout_interface
parent518c0660c6eee711252057bd73f75cd35f3d3215 (diff)
downloadservo-036f123c4ee61f72fd123cc0c624df9d604cbb93.tar.gz
servo-036f123c4ee61f72fd123cc0c624df9d604cbb93.zip
Implement concept of dirty root
Diffstat (limited to 'components/script_layout_interface')
-rw-r--r--components/script_layout_interface/message.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs
index 1dcbfe7eb33..8495d61fc8a 100644
--- a/components/script_layout_interface/message.rs
+++ b/components/script_layout_interface/message.rs
@@ -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.