aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs
index 856f8dbc52e..5c9ff1256dd 100644
--- a/components/layout/construct.rs
+++ b/components/layout/construct.rs
@@ -1878,7 +1878,9 @@ where
// Inline items that are absolutely-positioned contribute inline fragment construction
// results with a hypothetical fragment.
(Display::Inline, _, Position::Absolute) |
- (Display::InlineBlock, _, Position::Absolute) => {
+ (Display::Inline, _, Position::Fixed) |
+ (Display::InlineBlock, _, Position::Absolute) |
+ (Display::InlineBlock, _, Position::Fixed) => {
let construction_result =
self.build_fragment_for_absolutely_positioned_inline(node);
self.set_flow_construction_result(node, construction_result)