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

LibWeb: Recognise the ::placeholder pseudo element

This doesn't give it any functionality.
This commit is contained in:
Luke Wilde 2022-11-05 15:17:33 +00:00 committed by Andreas Kling
parent dfad2d4c13
commit 1fbad9caaf
3 changed files with 9 additions and 1 deletions

View file

@ -505,6 +505,9 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector)
case CSS::Selector::PseudoElement::ProgressValue:
pseudo_element_description = "-webkit-progress-value";
break;
case CSS::Selector::PseudoElement::Placeholder:
pseudo_element_description = "placeholder";
break;
}
builder.appendff(" pseudo_element={}", pseudo_element_description);