mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +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
|
@ -1611,7 +1611,7 @@ Optional<StyleDeclarationRule> Parser::consume_a_declaration(TokenStream<T>& tok
|
|||
if (bang_index.has_value()) {
|
||||
declaration.m_values.remove(important_index.value());
|
||||
declaration.m_values.remove(bang_index.value());
|
||||
declaration.m_important = true;
|
||||
declaration.m_important = Important::Yes;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue