|
@@ -619,8 +619,9 @@ void FormattingContext::layout_absolutely_positioned_element(Box& box)
|
|
|
|
|
|
void FormattingContext::compute_height_for_absolutely_positioned_replaced_element(ReplacedBox& 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));
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|