LibWeb: Rename StyleComponentValueRule -> ComponentValue

"Component value" is the term used in the spec, and it doesn't conflict
 with any other types, so let's use the shorter name. :^)

Also, this doesn't need to be friends with the Parser any more.
This commit is contained in:
Sam Atkins 2022-03-31 11:43:07 +01:00 committed by Andreas Kling
commit 8b538b1578
Notes: sideshowbarker 2024-07-17 14:17:47 +09:00
11 changed files with 216 additions and 217 deletions

View file

@ -9,7 +9,7 @@
#include <AK/String.h>
#include <AK/Vector.h>
#include <LibWeb/CSS/CSSStyleDeclaration.h>
#include <LibWeb/CSS/Parser/StyleComponentValueRule.h>
#include <LibWeb/CSS/Parser/ComponentValue.h>
namespace Web::CSS {
@ -24,7 +24,7 @@ public:
private:
String m_name;
Vector<StyleComponentValueRule> m_values;
Vector<ComponentValue> m_values;
Important m_important { Important::No };
};