Explorar o código

LibWeb: Add getter for separator to StyleValueList

MacDue %!s(int64=2) %!d(string=hai) anos
pai
achega
ca02c433d2

+ 2 - 0
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; }
     bool properties_equal(StyleValueList const& other) const { return m_properties == other.m_properties; }
 
 
+    Separator separator() const { return m_properties.separator; }
+
 private:
 private:
     StyleValueList(StyleValueVector&& values, Separator separator)
     StyleValueList(StyleValueVector&& values, Separator separator)
         : StyleValueWithDefaultOperators(Type::ValueList)
         : StyleValueWithDefaultOperators(Type::ValueList)