mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Add an enum for !important
This commit is contained in:
parent
c08a52dd97
commit
a99d02e14d
Notes:
sideshowbarker
2024-07-17 18:58:01 +09:00
Author: https://github.com/AtkinsSJ
Commit: a99d02e14d
Pull-request: https://github.com/SerenityOS/serenity/pull/12460
8 changed files with 21 additions and 15 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <AK/String.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibWeb/CSS/CSSStyleDeclaration.h>
|
||||
#include <LibWeb/CSS/Parser/StyleComponentValueRule.h>
|
||||
|
||||
namespace Web::CSS {
|
||||
|
@ -24,7 +25,7 @@ public:
|
|||
private:
|
||||
String m_name;
|
||||
Vector<StyleComponentValueRule> m_values;
|
||||
bool m_important { false };
|
||||
Important m_important { Important::No };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue