From 036f123c4ee61f72fd123cc0c624df9d604cbb93 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Mon, 27 Apr 2020 17:54:06 +0200 Subject: Implement concept of dirty root --- components/script_layout_interface/message.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/script_layout_interface/message.rs') 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, /// Whether the document's stylesheets have changed since the last script reflow. pub stylesheets_changed: bool, /// The current window size. -- cgit v1.2.3