LibWeb/HTML: Sanitize email input with multiple attribute

This implements the missing part of the value sanitization algorithm
for email inputs with the multiple attribute.
This commit is contained in:
Glenn Skrzypczak
2025-07-22 00:58:28 +02:00
committed by Tim Ledbetter
parent 04fe0c6aec
commit 6e6507c8c5
Notes: github-actions[bot] 2025-07-22 22:03:58 +00:00
17 changed files with 66 additions and 43 deletions

View File

@@ -134,7 +134,7 @@ void HTMLImageElement::apply_presentational_hints(GC::Ref<CSS::CascadedPropertie
});
}
void HTMLImageElement::form_associated_element_attribute_changed(FlyString const& name, Optional<String> const& value, Optional<FlyString> const&)
void HTMLImageElement::form_associated_element_attribute_changed(FlyString const& name, Optional<String> const&, Optional<String> const& value, Optional<FlyString> const&)
{
if (name == HTML::AttributeNames::crossorigin) {
m_cors_setting = cors_setting_attribute_from_keyword(value);