summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/Node.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-03-23 21:16:36 +0000
committerAndreas Kling <kling@serenityos.org>2022-03-24 18:08:34 +0100
commit03daa4653fcc336262e6592fd2080cbfc437490b (patch)
treeecb348543d0fa518610209aff8926fab77201a73 /Userland/Libraries/LibWeb/Layout/Node.cpp
parent4d8789b173a68712cc03f41e6fbf696dfa8aa094 (diff)
downloadserenity-03daa4653fcc336262e6592fd2080cbfc437490b.zip
LibWeb: Parse and compute text-shadow property
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/Node.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Layout/Node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/Node.cpp b/Userland/Libraries/LibWeb/Layout/Node.cpp
index 9870ec289d..9e7cd2977b 100644
--- a/Userland/Libraries/LibWeb/Layout/Node.cpp
+++ b/Userland/Libraries/LibWeb/Layout/Node.cpp
@@ -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());