1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:27:34 +00:00

LibWeb: Move StyleBlockRule code into StyleBlockRule.cpp

This commit is contained in:
Sam Atkins 2022-04-12 13:41:42 +01:00 committed by Andreas Kling
parent e0b2ebcc7b
commit 624df40e20
4 changed files with 33 additions and 19 deletions

View file

@ -20,11 +20,7 @@ class StyleBlockRule : public RefCounted<StyleBlockRule> {
public:
StyleBlockRule();
explicit StyleBlockRule(Token token, Vector<Parser::ComponentValue>&& values)
: m_token(move(token))
, m_values(move(values))
{
}
StyleBlockRule(Token, Vector<Parser::ComponentValue>&&);
~StyleBlockRule();
bool is_curly() const { return m_token.is(Token::Type::OpenCurly); }