mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 01:08:48 +00:00
LibWeb: Parse border-collapse
property for HTML table
This commit is contained in:
parent
25f612f32b
commit
64c353f11c
Notes:
sideshowbarker
2024-07-17 07:08:37 +09:00
Author: https://github.com/martinfalisse
Commit: 64c353f11c
Pull-request: https://github.com/SerenityOS/serenity/pull/16782
7 changed files with 22 additions and 3 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue