LibWeb: Return absolutized computed value for outline width property

This commit is contained in:
Tim Ledbetter 2025-04-04 23:56:09 +01:00 committed by Andreas Kling
parent b05b9378ed
commit 32812f5db0
Notes: github-actions[bot] 2025-04-05 10:55:27 +00:00
7 changed files with 100 additions and 32 deletions

View file

@ -960,6 +960,10 @@ RefPtr<CSSStyleValue const> CSSStyleProperties::style_value_for_computed_propert
auto border_top_width = layout_node.computed_values().border_top();
return LengthStyleValue::create(Length::make_px(border_top_width.width));
}
case PropertyID::OutlineWidth: {
auto outline_width = layout_node.computed_values().outline_width();
return LengthStyleValue::create(outline_width);
}
case PropertyID::WebkitTextFillColor:
return CSSColorValue::create_from_color(layout_node.computed_values().webkit_text_fill_color(), ColorSyntax::Modern);
case PropertyID::Invalid: