1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00

LibWeb: Add ::selection to pseudo elements

This commit is contained in:
Gabriel Dinner-David 2023-07-02 22:19:19 -04:00 committed by Andreas Kling
parent 6d02403e06
commit c9af6c87bf
3 changed files with 8 additions and 0 deletions

View file

@ -595,6 +595,9 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector)
case CSS::Selector::PseudoElement::Placeholder:
pseudo_element_description = "placeholder";
break;
case CSS::Selector::PseudoElement::Selection:
pseudo_element_description = "selection";
break;
case CSS::Selector::PseudoElement::PseudoElementCount:
VERIFY_NOT_REACHED();
break;