1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 01:47:36 +00:00

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
parent 8411ff3f14
commit 817cd13d59
6 changed files with 10 additions and 3 deletions

View file

@ -453,6 +453,9 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector)
case CSS::Selector::PseudoElement::FirstLetter:
pseudo_element_description = "first-letter";
break;
case CSS::Selector::PseudoElement::Marker:
pseudo_element_description = "marker";
break;
}
builder.appendff(" pseudo_element={}", pseudo_element_description);