mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
LibWeb: Add support for -webkit-text-fill-color
This commit is contained in:
parent
b5e80db225
commit
449f81bfbe
Notes:
sideshowbarker
2024-07-18 02:47:59 +09:00
Author: https://github.com/vpzomtrrfrt
Commit: 449f81bfbe
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/502
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/skyrising
8 changed files with 20 additions and 2 deletions
|
@ -654,6 +654,8 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
|
|||
if (auto maybe_text_decoration_thickness = computed_style.length_percentage(CSS::PropertyID::TextDecorationThickness); maybe_text_decoration_thickness.has_value())
|
||||
computed_values.set_text_decoration_thickness(maybe_text_decoration_thickness.release_value());
|
||||
|
||||
computed_values.set_webkit_text_fill_color(computed_style.color_or_fallback(CSS::PropertyID::WebkitTextFillColor, *this, computed_values.color()));
|
||||
|
||||
computed_values.set_text_shadow(computed_style.text_shadow(*this));
|
||||
|
||||
computed_values.set_z_index(computed_style.z_index());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue