diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Selector.h')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Selector.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Selector.h b/Userland/Libraries/LibWeb/CSS/Selector.h index 9ee035730f..8d05b6e312 100644 --- a/Userland/Libraries/LibWeb/CSS/Selector.h +++ b/Userland/Libraries/LibWeb/CSS/Selector.h @@ -135,7 +135,7 @@ public: ~Selector(); Vector<CompoundSelector> const& compound_selectors() const { return m_compound_selectors; } - Optional<PseudoElement> pseudo_element() const; + Optional<PseudoElement> pseudo_element() const { return m_pseudo_element; } u32 specificity() const; String serialize() const; @@ -144,6 +144,7 @@ private: Vector<CompoundSelector> m_compound_selectors; mutable Optional<u32> m_specificity; + Optional<Selector::PseudoElement> m_pseudo_element; }; constexpr StringView pseudo_element_name(Selector::PseudoElement pseudo_element) |