aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/multicol.rs
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2017-08-07 16:08:01 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2017-08-08 10:53:17 -0700
commita08bc13df96c70022e5ab0207419609a501d85dc (patch)
treebc6926e5d1da52e1e6f8c54d9aa3420354b05359 /components/layout/multicol.rs
parent1f0e42e8fe721d896796205669f7265f2ed64b3e (diff)
downloadservo-a08bc13df96c70022e5ab0207419609a501d85dc.tar.gz
servo-a08bc13df96c70022e5ab0207419609a501d85dc.zip
Rename compute_absolute_position to compute_stacking_relative_position
Diffstat (limited to 'components/layout/multicol.rs')
-rw-r--r--components/layout/multicol.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/layout/multicol.rs b/components/layout/multicol.rs
index 8a1b3bee6ee..6ebe48d78d0 100644
--- a/components/layout/multicol.rs
+++ b/components/layout/multicol.rs
@@ -166,8 +166,8 @@ impl Flow for MulticolFlow {
}
}
- fn compute_absolute_position(&mut self, layout_context: &LayoutContext) {
- self.block_flow.compute_absolute_position(layout_context);
+ fn compute_stacking_relative_position(&mut self, layout_context: &LayoutContext) {
+ self.block_flow.compute_stacking_relative_position(layout_context);
let pitch = LogicalSize::new(self.block_flow.base.writing_mode, self.column_pitch, Au(0));
let pitch = pitch.to_physical(self.block_flow.base.writing_mode);
for (i, child) in self.block_flow.base.children.iter_mut().enumerate() {
@@ -254,8 +254,8 @@ impl Flow for MulticolColumnFlow {
Flow::fragment(&mut self.block_flow, layout_context, fragmentation_context)
}
- fn compute_absolute_position(&mut self, layout_context: &LayoutContext) {
- self.block_flow.compute_absolute_position(layout_context)
+ fn compute_stacking_relative_position(&mut self, layout_context: &LayoutContext) {
+ self.block_flow.compute_stacking_relative_position(layout_context)
}
fn update_late_computed_inline_position_if_necessary(&mut self, inline_position: Au) {