LibWeb: Add support for -webkit-text-fill-color

This commit is contained in:
Colin Reeder 2024-07-07 19:41:18 -06:00 committed by Andrew Kaster
parent b5e80db225
commit 449f81bfbe
Notes: sideshowbarker 2024-07-18 02:47:59 +09:00
8 changed files with 20 additions and 2 deletions

View file

@ -506,6 +506,8 @@ RefPtr<StyleValue const> ResolvedCSSStyleDeclaration::style_value_for_property(L
auto left = style_value_for_property(layout_node, PropertyID::PaddingLeft);
return style_value_for_sided_shorthand(top.release_nonnull(), right.release_nonnull(), bottom.release_nonnull(), left.release_nonnull());
}
case PropertyID::WebkitTextFillColor:
return ColorStyleValue::create(layout_node.computed_values().webkit_text_fill_color());
case PropertyID::Invalid:
return IdentifierStyleValue::create(ValueID::Invalid);
case PropertyID::Custom: