mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
LibWeb: Add an enum for !important
This commit is contained in:
parent
c08a52dd97
commit
a99d02e14d
8 changed files with 21 additions and 15 deletions
|
@ -13,8 +13,13 @@
|
|||
|
||||
namespace Web::CSS {
|
||||
|
||||
enum class Important {
|
||||
No,
|
||||
Yes,
|
||||
};
|
||||
|
||||
struct StyleProperty {
|
||||
bool important { false };
|
||||
Important important { Important::No };
|
||||
CSS::PropertyID property_id;
|
||||
NonnullRefPtr<StyleValue> value;
|
||||
String custom_name {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue