4 ms·
Arguably truncating the text is against the specification as it only specifies that the user agent may prevent the user from going beyond the max-length, not th
by contravariant 6y ago
Arguably truncating the text is against the specification as it only specifies that the user agent may prevent the user from going beyond the max-length, not that it may do arbitrary stuff to make the text fit.
I also hope it will make at least some developers realise that client-side validation is a bad idea.
- jeroenhd 6y agoI'd say the fact that it says that the user agent may, not must, truncate the text is a sign that this behaviour should not be expected. Failing the HTML5 validation is also perfectly reasonable. If people are building web pages right, this change will have little impact. Big if, of course, but a man can dream...