mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-25 18:34:14 +00:00
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:
parent
04fe0c6aec
commit
6e6507c8c5
Notes:
github-actions[bot]
2025-07-22 22:03:58 +00:00
Author: https://github.com/skyz1
Commit: 6e6507c8c5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5555
Reviewed-by: https://github.com/tcl3 ✅
17 changed files with 66 additions and 43 deletions
|
|
@ -574,7 +574,7 @@ void HTMLSelectElement::form_associated_element_was_inserted()
|
|||
create_shadow_tree_if_needed();
|
||||
}
|
||||
|
||||
void HTMLSelectElement::form_associated_element_attribute_changed(FlyString const& name, Optional<String> const& value, Optional<FlyString> const&)
|
||||
void HTMLSelectElement::form_associated_element_attribute_changed(FlyString const& name, Optional<String> const&, Optional<String> const& value, Optional<FlyString> const&)
|
||||
{
|
||||
if (name == HTML::AttributeNames::multiple) {
|
||||
// If the multiple attribute is absent then update the selectedness of the option elements.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue