mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibWeb: Recognise the ::placeholder pseudo element
This doesn't give it any functionality.
This commit is contained in:
parent
dfad2d4c13
commit
1fbad9caaf
Notes:
sideshowbarker
2024-07-17 04:42:08 +09:00
Author: https://github.com/Lubrsi
Commit: 1fbad9caaf
Pull-request: https://github.com/SerenityOS/serenity/pull/15964
Reviewed-by: https://github.com/awesomekling
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