mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibWeb: Parse :before and :after pseudo-elements
Note that this is the old CSS2 syntax, we don't support the CSS3 syntax just yet. Also we don't actually implement the pseudo-elements, this is really just to make the selectors distinct from the same ones without these pseudo-elements.
This commit is contained in:
parent
eef30bb05e
commit
bbcc71fec4
3 changed files with 21 additions and 0 deletions
|
@ -57,6 +57,13 @@ public:
|
|||
};
|
||||
PseudoClass pseudo_class { PseudoClass::None };
|
||||
|
||||
enum class PseudoElement {
|
||||
None,
|
||||
Before,
|
||||
After,
|
||||
};
|
||||
PseudoElement pseudo_element { PseudoElement::None };
|
||||
|
||||
FlyString value;
|
||||
|
||||
enum class AttributeMatchType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue