1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:57:43 +00:00

LibWeb: Parse and compute text-shadow property

This commit is contained in:
Sam Atkins 2022-03-23 21:16:36 +00:00 committed by Andreas Kling
parent 4d8789b173
commit 03daa4653f
6 changed files with 38 additions and 9 deletions

View file

@ -484,6 +484,8 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& specified_style)
if (auto maybe_text_decoration_thickness = specified_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_text_shadow(specified_style.text_shadow());
computed_values.set_z_index(specified_style.z_index());
computed_values.set_opacity(specified_style.opacity());