diff options
Diffstat (limited to 'components/layout/context.rs')
-rw-r--r-- | components/layout/context.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/layout/context.rs b/components/layout/context.rs index 62f8a8cdae9..3411eed486c 100644 --- a/components/layout/context.rs +++ b/components/layout/context.rs @@ -46,6 +46,9 @@ pub struct LayoutContext<'a> { Arc<RwLock<FnvHashMap<(ServoUrl, UsePlaceholder), WebRenderImageInfo>>>, pub node_image_animation_map: Arc<RwLock<FxHashMap<OpaqueNode, ImageAnimationState>>>, + + /// The DOM node that is highlighted by the devtools inspector, if any + pub highlighted_dom_node: Option<OpaqueNode>, } pub enum ResolvedImage<'a> { |