LibWeb: Make every HTMLElement potentially form-associated

This can be the case for form-associated custom elements, where any
HTML element can be form-associated.
This commit is contained in:
Luke Wilde
2026-02-15 03:14:09 +00:00
committed by Sam Atkins
parent 6a812cf919
commit df32da5e86
Notes: github-actions[bot] 2026-03-25 13:21:23 +00:00
22 changed files with 143 additions and 124 deletions

View File

@@ -1817,7 +1817,7 @@ Web::WebDriver::Response WebDriverConnection::element_clear_impl(StringView elem
// -> otherwise
// True if its value IDL attribute is an empty string, and false otherwise.
return form_associated_element.value().is_empty();
return form_associated_element.form_value().is_empty();
}();
// 2. If element is a candidate for constraint validation it satisfies its constraints, and empty is true,