Skip to content

Commit

Permalink
LibWeb: Add getter for separator to StyleValueList
Browse files Browse the repository at this point in the history
  • Loading branch information
MacDue authored and awesomekling committed Apr 3, 2023
1 parent 6bc3009 commit ca02c43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Userland/Libraries/LibWeb/CSS/StyleValues/StyleValueList.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class StyleValueList final : public StyleValueWithDefaultOperators<StyleValueLis

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)
Expand Down

0 comments on commit ca02c43

Please sign in to comment.