フォームの検証

フォームの検証

[1] HTML Interactive Form Validation | WebKit () <https://webkit.org/blog/7099/html-interactive-form-validation/>

However, WebKit did not support HTML interactive form validation, which occurs on form submission (unless the novalidate attribute is set on the <form> element) or using the reportValidity() API. We are pleased to announce that this is now implemented in WebKit and enabled in Safari Technology Preview 19. Upon interactive form validation, WebKit will now check the validity of all form controls in the form. If there is at least one form control that violates a constraint, WebKit will focus the first one, scroll it into view, and display a bubble near it with a message explaining what the problem is.

[2] 17972 – forms: Add trim="" attribute to <input type=text/search> that makes required="" ignore leading/trailing "space characters" () <https://www.w3.org/Bugs/Public/show_bug.cgi?id=17972>