mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 09:12:13 -05:00
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:
parent
9d15b3bbb7
commit
a6718e5f3b
Notes:
github-actions[bot]
2024-10-16 18:26:57 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/a6718e5f3bd Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1829
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue