diff options
author | Martin Robinson <mrobinson@igalia.com> | 2020-03-19 12:43:01 +0100 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2020-03-19 12:43:01 +0100 |
commit | cc75c6f5d43a4250ad129cced0b846ce7968fba2 (patch) | |
tree | 6777cd17a059c8edf59bc258f280b514c996aedc /components | |
parent | b945de4ea910a6c6c8e296089bc3b2baf2afa248 (diff) | |
download | servo-cc75c6f5d43a4250ad129cced0b846ce7968fba2.tar.gz servo-cc75c6f5d43a4250ad129cced0b846ce7968fba2.zip |
layout_2020: Fix a documentation comment
I inadvertently failed to complete this doc comment.
Diffstat (limited to 'components')
-rw-r--r-- | components/layout_2020/fragments.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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<Length>, - /// 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<HoistedFragmentId>, } |