1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

LibWeb: Move ComponentValue to CSS::Parser namespace

This commit is contained in:
Sam Atkins 2022-04-12 12:13:10 +01:00 committed by Andreas Kling
parent c449cabae3
commit fff2c35f51
11 changed files with 26 additions and 23 deletions

View file

@ -20,16 +20,16 @@ class StyleFunctionRule : public RefCounted<StyleFunctionRule> {
public:
explicit StyleFunctionRule(String name);
StyleFunctionRule(String name, Vector<ComponentValue>&& values);
StyleFunctionRule(String name, Vector<Parser::ComponentValue>&& values);
~StyleFunctionRule();
String const& name() const { return m_name; }
Vector<ComponentValue> const& values() const { return m_values; }
Vector<Parser::ComponentValue> const& values() const { return m_values; }
String to_string() const;
private:
String m_name;
Vector<ComponentValue> m_values;
Vector<Parser::ComponentValue> m_values;
};
}