diff options
author | Anthony Ramine <nox@nox.paris> | 2020-04-27 17:54:06 +0200 |
---|---|---|
committer | Anthony Ramine <nox@nox.paris> | 2020-05-19 16:26:36 +0200 |
commit | 036f123c4ee61f72fd123cc0c624df9d604cbb93 (patch) | |
tree | d83f5dcae9d96f40d3b0174ba91d0ca0046b5f80 /components/script_layout_interface | |
parent | 518c0660c6eee711252057bd73f75cd35f3d3215 (diff) | |
download | servo-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.rs | 2 |
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. |