2021-03-09 17:36:21 +01:00
|
|
|
/*
|
2021-04-28 22:46:44 +02:00
|
|
|
* Copyright (c) 2020-2021, the SerenityOS developers.
|
2021-06-29 17:03:25 +01:00
|
|
|
* Copyright (c) 2021, Sam Atkins <atkinssj@gmail.com>
|
2021-03-09 17:36:21 +01:00
|
|
|
*
|
2021-04-22 01:24:48 -07:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2021-03-09 17:36:21 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <AK/Vector.h>
|
2021-06-29 17:03:25 +01:00
|
|
|
#include <LibWeb/CSS/Parser/StyleComponentValueRule.h>
|
2021-03-09 17:36:21 +01:00
|
|
|
|
|
|
|
|
namespace Web::CSS {
|
|
|
|
|
|
|
|
|
|
class QualifiedStyleRule {
|
|
|
|
|
friend class Parser;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
QualifiedStyleRule();
|
|
|
|
|
~QualifiedStyleRule();
|
|
|
|
|
String to_string() const;
|
|
|
|
|
|
|
|
|
|
private:
|
2021-06-29 17:03:25 +01:00
|
|
|
Vector<StyleComponentValueRule> m_prelude;
|
2021-03-09 17:36:21 +01:00
|
|
|
StyleBlockRule m_block;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|