2021-03-09 13:36:21 -03:00
|
|
|
/*
|
2021-04-28 17:46:44 -03:00
|
|
|
* Copyright (c) 2020-2021, the SerenityOS developers.
|
2021-03-09 13:36:21 -03:00
|
|
|
*
|
2021-04-22 05:24:48 -03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2021-03-09 13:36:21 -03:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <AK/Vector.h>
|
|
|
|
|
#include <LibWeb/CSS/Parser/Token.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::CSS {
|
|
|
|
|
|
|
|
|
|
class StyleBlockRule {
|
|
|
|
|
friend class Parser;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
StyleBlockRule();
|
|
|
|
|
~StyleBlockRule();
|
|
|
|
|
|
|
|
|
|
String to_string() const;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Token m_token;
|
|
|
|
|
Vector<String> m_values;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|