LibWeb: Resolve vertical borders for inline nodes

Preparation for upcoming change where InlinePaintable will no longer be
responsible for doing that.
This commit is contained in:
Aliaksandr Kalenik 2024-10-15 20:08:48 +02:00 committed by Alexander Kalenik
parent 9d15b3bbb7
commit a6718e5f3b
Notes: github-actions[bot] 2024-10-16 18:26:57 +00:00

View file

@ -38,6 +38,8 @@ void InlineLevelIterator::enter_node_with_box_model_metrics(Layout::NodeWithStyl
used_values.border_left = computed_values.border_left().width;
used_values.padding_left = computed_values.padding().left().to_px(node, m_containing_block_used_values.content_width());
used_values.border_top = computed_values.border_top().width;
used_values.border_bottom = computed_values.border_bottom().width;
used_values.padding_bottom = computed_values.padding().bottom().to_px(node, m_containing_block_used_values.content_width());
used_values.padding_top = computed_values.padding().top().to_px(node, m_containing_block_used_values.content_width());