mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-24 20:12:53 +00:00
LibWeb: Return absolutized computed value for outline width property
This commit is contained in:
parent
b05b9378ed
commit
32812f5db0
Notes:
github-actions[bot]
2025-04-05 10:55:27 +00:00
Author: https://github.com/tcl3
Commit: 32812f5db0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4233
7 changed files with 100 additions and 32 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue