You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One new line is allowed in Chrome and Safari, but two are allowed in Firefox, Edge, and IE.
Safari has another peculiar behavior in that it seems to round up (?) when new lines are in play. For example: maxlength="1" allows 1; maxlength="2" allows 1; maxlength="3" allows 2, maxlength="4" allows 2; maxlength="5" allows 3, etc.
<textarea maxlength="2">
One new line is allowed in Chrome and Safari, but two are allowed in Firefox, Edge, and IE.
Safari has another peculiar behavior in that it seems to round up (?) when new lines are in play. For example:
maxlength="1"
allows 1;maxlength="2"
allows 1;maxlength="3"
allows 2,maxlength="4"
allows 2;maxlength="5"
allows 3, etc.Relevant browser issues:
JSBin Test case
The text was updated successfully, but these errors were encountered: