LibWeb: Parse border-collapse property for HTML table

This commit is contained in:
martinfalisse 2023-01-02 23:01:29 +01:00 committed by Andreas Kling
parent 25f612f32b
commit 64c353f11c
Notes: sideshowbarker 2024-07-17 07:08:37 +09:00
7 changed files with 22 additions and 3 deletions

View file

@ -202,6 +202,8 @@ RefPtr<StyleValue> ResolvedCSSStyleDeclaration::style_value_for_property(Layout:
return IdentifierStyleValue::create(to_value_id(layout_node.computed_values().border_bottom().line_style));
case CSS::PropertyID::BorderBottomWidth:
return LengthStyleValue::create(Length::make_px(layout_node.computed_values().border_bottom().width));
case CSS::PropertyID::BorderCollapse:
return IdentifierStyleValue::create(to_value_id(layout_node.computed_values().border_collapse()));
case CSS::PropertyID::BorderLeft: {
auto border = layout_node.computed_values().border_left();
auto width = LengthStyleValue::create(Length::make_px(border.width));