mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibWeb: Add :not pseudoclass to the CSS parser
The selector given in the :not() is stored in the SimpleSelector as a String.
This commit is contained in:
parent
78f3bad7e6
commit
1ab82afee6
3 changed files with 9 additions and 0 deletions
|
@ -384,6 +384,9 @@ void dump_selector(StringBuilder& builder, const CSS::Selector& selector)
|
|||
case CSS::Selector::SimpleSelector::PseudoClass::Checked:
|
||||
pseudo_class_description = "Checked";
|
||||
break;
|
||||
case CSS::Selector::SimpleSelector::PseudoClass::Not:
|
||||
pseudo_class_description = "Not";
|
||||
break;
|
||||
}
|
||||
|
||||
builder.appendff("{}:{}", type_description, simple_selector.value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue