mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Stop returning the left padding for resolved padding-bottom
I accidentally broke this 8 months ago and nobody noticed. 😅
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 18:46:57 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/ba30f298f9 Pull-request: https://github.com/SerenityOS/serenity/pull/18060
@@ -473,9 +473,9 @@ RefPtr<StyleValue const> ResolvedCSSStyleDeclaration::style_value_for_property(L
|
||||
return StyleValueList::create(move(values), StyleValueList::Separator::Space);
|
||||
}
|
||||
case CSS::PropertyID::PaddingBottom:
|
||||
return style_value_for_length_percentage(layout_node.computed_values().padding().bottom());
|
||||
case CSS::PropertyID::PaddingLeft:
|
||||
return style_value_for_length_percentage(layout_node.computed_values().padding().left());
|
||||
return style_value_for_length_percentage(layout_node.computed_values().padding().bottom());
|
||||
case CSS::PropertyID::PaddingRight:
|
||||
return style_value_for_length_percentage(layout_node.computed_values().padding().right());
|
||||
case CSS::PropertyID::PaddingTop:
|
||||
|
||||
Reference in New Issue
Block a user