LibWeb: Implement the ::marker pseudo-element

This matches the marker boxes of list-items.
This commit is contained in:
Sam Atkins 2022-02-25 17:29:38 +00:00 committed by Andreas Kling
commit 817cd13d59
Notes: sideshowbarker 2024-07-17 22:01:16 +09:00
6 changed files with 10 additions and 3 deletions

View file

@ -272,6 +272,8 @@ constexpr StringView pseudo_element_name(Selector::PseudoElement pseudo_element)
return "first-line"sv;
case Selector::PseudoElement::FirstLetter:
return "first-letter"sv;
case Selector::PseudoElement::Marker:
return "marker"sv;
case Selector::PseudoElement::None:
break;
}