summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Libraries/LibWeb/Layout/FormattingContext.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
index 9595141599..e701e0d692 100644
--- a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
+++ b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp
@@ -619,8 +619,9 @@ void FormattingContext::layout_absolutely_positioned_element(Box& box)
void FormattingContext::compute_height_for_absolutely_positioned_replaced_element(ReplacedBox& box)
{
- // FIXME: Implement this.
- return compute_height_for_absolutely_positioned_non_replaced_element(box);
+ // 10.6.5 Absolutely positioned, replaced elements
+ // The used value of 'height' is determined as for inline replaced elements.
+ box.set_height(compute_height_for_replaced_element(box));
}
}