aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2020-03-19 14:40:03 -0400
committerGitHub <noreply@github.com>2020-03-19 14:40:03 -0400
commitd9c84b74cdccbc983994b5d40496e2f90e9f882e (patch)
treed54e9c9536761c743e9402a5191b88172101d65b
parentffdb83b644667c8e4916fcea3a94e77042bb1a9b (diff)
parentcc75c6f5d43a4250ad129cced0b846ce7968fba2 (diff)
downloadservo-d9c84b74cdccbc983994b5d40496e2f90e9f882e.tar.gz
servo-d9c84b74cdccbc983994b5d40496e2f90e9f882e.zip
Auto merge of #25988 - mrobinson:fix-doc, r=SimonSapin
layout_2020: Fix a documentation comment I inadvertently failed to complete this doc comment. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they don't change behavior. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
-rw-r--r--components/layout_2020/fragments.rs4
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>,
}