aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r--components/layout/flow.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs
index a97ec1cb9ad..c6fc65407e5 100644
--- a/components/layout/flow.rs
+++ b/components/layout/flow.rs
@@ -339,8 +339,9 @@ pub trait Flow: fmt::Debug + Sync + Send + 'static {
mut_base(self).overflow = overflow
}
- /// Phase 4 of reflow: computes absolute positions.
- fn compute_absolute_position(&mut self, _: &LayoutContext) {
+ /// Phase 4 of reflow: Compute the stacking-relative position (origin of the content box,
+ /// in coordinates relative to the nearest ancestor stacking context).
+ fn compute_stacking_relative_position(&mut self, _: &LayoutContext) {
// The default implementation is a no-op.
mut_base(self).restyle_damage.remove(REPOSITION)
}