mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
LibWeb: Make CSS::QualifiedStyleRule's prelude StyleComponentValueRule
This commit is contained in:
parent
54e1180f61
commit
d6b4022b58
4 changed files with 18 additions and 21 deletions
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2020-2021, the SerenityOS developers.
|
||||
* Copyright (c) 2021, Sam Atkins <atkinssj@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -7,12 +8,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Vector.h>
|
||||
#include <LibWeb/CSS/Parser/StyleBlockRule.h>
|
||||
#include <LibWeb/CSS/Parser/StyleComponentValueRule.h>
|
||||
|
||||
namespace Web::CSS {
|
||||
|
||||
class StyleComponentValueRule;
|
||||
|
||||
class QualifiedStyleRule {
|
||||
friend class Parser;
|
||||
|
||||
|
@ -22,7 +21,7 @@ public:
|
|||
String to_string() const;
|
||||
|
||||
private:
|
||||
Vector<String> m_prelude;
|
||||
Vector<StyleComponentValueRule> m_prelude;
|
||||
StyleBlockRule m_block;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue