aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/inline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r--components/layout/inline.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs
index 663d8509516..2a1aa3075f2 100644
--- a/components/layout/inline.rs
+++ b/components/layout/inline.rs
@@ -1486,7 +1486,7 @@ impl Flow for InlineFlow {
indentation = Au(0)
}
- if self.contains_positioned_fragments() {
+ if self.is_absolute_containing_block() {
// Assign block-sizes for all flows in this absolute flow tree.
// This is preorder because the block-size of an absolute flow may depend on
// the block-size of its containing block, which may also be an absolute flow.