summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout
diff options
context:
space:
mode:
authorAdam Hodgen <ant1441@gmail.com>2021-02-21 17:41:00 +0000
committerAndreas Kling <kling@serenityos.org>2021-02-28 18:19:52 +0100
commite169e241046f70fb9edda29fab42818d7d2bfb22 (patch)
tree766a734847a054b89fc945d427bbdaf801a18448 /Userland/Libraries/LibWeb/Layout
parenta375133cc5de6130860285bf8224801e7613ad4e (diff)
downloadserenity-e169e241046f70fb9edda29fab42818d7d2bfb22.zip
LibWeb: Parese the CSS "cursor" property
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout')
-rw-r--r--Userland/Libraries/LibWeb/Layout/Node.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/Node.cpp b/Userland/Libraries/LibWeb/Layout/Node.cpp
index 5c708f42eb..7a72dfbca5 100644
--- a/Userland/Libraries/LibWeb/Layout/Node.cpp
+++ b/Userland/Libraries/LibWeb/Layout/Node.cpp
@@ -268,6 +268,10 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& specified_style)
if (overflow_y.has_value())
computed_values.set_overflow_y(overflow_y.value());
+ auto cursor = specified_style.cursor();
+ if (cursor.has_value())
+ computed_values.set_cursor(cursor.value());
+
auto text_decoration_line = specified_style.text_decoration_line();
if (text_decoration_line.has_value())
computed_values.set_text_decoration_line(text_decoration_line.value());