Prechádzať zdrojové kódy

LibWeb: Add getter for separator to StyleValueList

MacDue 2 rokov pred
rodič
commit
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; }
 
+    Separator separator() const { return m_properties.separator; }
+
 private:
     StyleValueList(StyleValueVector&& values, Separator separator)
         : StyleValueWithDefaultOperators(Type::ValueList)