summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Parser/QualifiedStyleRule.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@gmail.com>2021-06-29 17:03:25 +0100
committerAndreas Kling <kling@serenityos.org>2021-07-11 23:19:56 +0200
commitd6b4022b58b1bbbd28c54484dc1a04475648ac25 (patch)
tree1df6ab089d75f3eaa7f18703d7e69f8acace177c /Userland/Libraries/LibWeb/CSS/Parser/QualifiedStyleRule.h
parent54e1180f618442154b12a9b984549c644b3b3762 (diff)
downloadserenity-d6b4022b58b1bbbd28c54484dc1a04475648ac25.zip
LibWeb: Make CSS::QualifiedStyleRule's prelude StyleComponentValueRule
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Parser/QualifiedStyleRule.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Parser/QualifiedStyleRule.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Parser/QualifiedStyleRule.h b/Userland/Libraries/LibWeb/CSS/Parser/QualifiedStyleRule.h
index 7de1c1779f..da2f3c2e98 100644
--- a/Userland/Libraries/LibWeb/CSS/Parser/QualifiedStyleRule.h
+++ b/Userland/Libraries/LibWeb/CSS/Parser/QualifiedStyleRule.h
@@ -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;
};