summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2023-04-03 18:25:13 +0100
committerAndreas Kling <kling@serenityos.org>2023-04-03 20:54:36 +0200
commitca02c433d2371db9b660ad4559176391301cb805 (patch)
tree5881322e2926a172d2c50c9e3c9893727b622a58 /Userland
parent6bc30099f276e28ece113e517f2a01ba6e012749 (diff)
downloadserenity-ca02c433d2371db9b660ad4559176391301cb805.zip
LibWeb: Add getter for separator to StyleValueList
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWeb/CSS/StyleValues/StyleValueList.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/StyleValues/StyleValueList.h b/Userland/Libraries/LibWeb/CSS/StyleValues/StyleValueList.h
index 2006ef1820..1ab22f6a7f 100644
--- a/Userland/Libraries/LibWeb/CSS/StyleValues/StyleValueList.h
+++ b/Userland/Libraries/LibWeb/CSS/StyleValues/StyleValueList.h
@@ -34,6 +34,8 @@ public:
bool properties_equal(StyleValueList const& other) const { return m_properties == other.m_properties; }
+ Separator separator() const { return m_properties.separator; }
+
private:
StyleValueList(StyleValueVector&& values, Separator separator)
: StyleValueWithDefaultOperators(Type::ValueList)