aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_interface.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r--components/script/layout_interface.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs
index 0c82c61447d..18c98dc50e6 100644
--- a/components/script/layout_interface.rs
+++ b/components/script/layout_interface.rs
@@ -142,6 +142,8 @@ pub struct Reflow {
pub goal: ReflowGoal,
/// The URL of the page.
pub url: Url,
+ /// Is the current reflow of an iframe, as opposed to a root window?
+ pub iframe: bool,
/// The channel through which messages can be sent back to the script task.
pub script_chan: ScriptControlChan,
/// The current window size.