mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:07:35 +00:00
LibWeb: Add support for more pseudoclasses
:disabled, :enabled and :checked are now parsed and matched. There surely are more nuances to consider.
This commit is contained in:
parent
4f4cde2379
commit
b53dac6e88
4 changed files with 36 additions and 0 deletions
|
@ -38,6 +38,9 @@ public:
|
|||
LastOfType,
|
||||
NthChild,
|
||||
NthLastChild,
|
||||
Disabled,
|
||||
Enabled,
|
||||
Checked,
|
||||
};
|
||||
PseudoClass pseudo_class { PseudoClass::None };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue