File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Userland/Libraries/LibWeb/Layout Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ void FormattingContext::compute_height_for_absolutely_positioned_non_replaced_el
740
740
};
741
741
742
742
auto solve_for_margin_top = [&] {
743
- height = CSS::Size ::make_px (
743
+ margin_top = CSS::Length ::make_px (
744
744
height_of_containing_block
745
745
- top.resolved (box, height_of_containing_block_as_length).to_px (box)
746
746
- box.computed_values ().border_top ().width
@@ -753,7 +753,7 @@ void FormattingContext::compute_height_for_absolutely_positioned_non_replaced_el
753
753
};
754
754
755
755
auto solve_for_margin_bottom = [&] {
756
- height = CSS::Size ::make_px (
756
+ margin_bottom = CSS::Length ::make_px (
757
757
height_of_containing_block
758
758
- top.resolved (box, height_of_containing_block_as_length).to_px (box)
759
759
- margin_top.length ().to_px (box)
You can’t perform that action at this time.
0 commit comments