System/Libraries/Html/Renderer: Support (but not yet validate) INPUT type=email

This commit is contained in:
Alec Murphy
2025-10-09 12:57:18 -04:00
parent 0ff7c6531a
commit bb12179305

View File

@@ -1480,7 +1480,8 @@ U0 @render_form_input_element(@html_dom_node* node, HtmlRenderer* renderer)
return;
}
if (!type || !StrICmp(type, "text")) {
// FIXME: Validate input type=email
if (!type || !StrICmp(type, "text") || !StrICmp(type, "email")) {
if (!node->widthDistanceType)
width = 64;
if (!node->heightDistanceType)