mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
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:
parent
17632c3d2d
commit
8b538b1578
Notes:
sideshowbarker
2024-07-17 14:17:47 +09:00
Author: https://github.com/AtkinsSJ
Commit: 8b538b1578
Pull-request: https://github.com/SerenityOS/serenity/pull/13407
Reviewed-by: https://github.com/trflynn89
11 changed files with 216 additions and 217 deletions
|
@ -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 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue