mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
LibWeb: Use the correct containing block for position:absolute width
This commit is contained in:
parent
f0a4a6bb11
commit
a5422a210f
Notes:
sideshowbarker
2024-07-19 00:46:57 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a5422a210f2
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ void BlockFormattingContext::compute_height_for_block_level_replaced_element_in_
|
|||
|
||||
void BlockFormattingContext::compute_width_for_absolutely_positioned_block(Box& box)
|
||||
{
|
||||
auto& containing_block = context_box();
|
||||
auto& containing_block = *box.containing_block();
|
||||
auto& style = box.style();
|
||||
auto zero_value = CSS::Length::make_px(0);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue