From cc75c6f5d43a4250ad129cced0b846ce7968fba2 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Thu, 19 Mar 2020 12:43:01 +0100 Subject: [PATCH] layout_2020: Fix a documentation comment I inadvertently failed to complete this doc comment. --- components/layout_2020/fragments.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/layout_2020/fragments.rs b/components/layout_2020/fragments.rs index 70c65dd470d..3be702bbf84 100644 --- a/components/layout_2020/fragments.rs +++ b/components/layout_2020/fragments.rs @@ -55,7 +55,9 @@ pub(crate) struct BoxFragment { /// The scrollable overflow of this box fragment. pub scrollable_overflow_from_children: PhysicalRect, - /// XXX Add thsi + /// If this fragment was laid out from a hoisted box, this id corresponds to the id stored in + /// the AbsoluteOrFixedPositionedFragment left as a placeholder in the tree position of the + /// box. pub hoisted_fragment_id: Option, }