mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
LibWeb: Recognise the ::placeholder pseudo element
This doesn't give it any functionality.
This commit is contained in:
parent
dfad2d4c13
commit
1fbad9caaf
3 changed files with 9 additions and 1 deletions
|
@ -356,6 +356,8 @@ Optional<Selector::PseudoElement> pseudo_element_from_string(StringView name)
|
|||
return Selector::PseudoElement::ProgressBar;
|
||||
} else if (name.equals_ignoring_case("-webkit-progress-value"sv)) {
|
||||
return Selector::PseudoElement::ProgressValue;
|
||||
} else if (name.equals_ignoring_case("placeholder"sv)) {
|
||||
return Selector::PseudoElement::Placeholder;
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue