草案
此页面不完整。

只读 tooLong property of a ValidityState object indicates if the value of an <input> or <textarea> , after having been edited by the user, exceeds the maximum code-unit length established by the element's maxlength 属性。

规范

规范 状态 注释
HTML 实时标准
The definition of 'ValidityState.tooLong' in that specification.
实时标准
HTML 5.1
The definition of 'ValidityState.tooLong' in that specification.
推荐
HTML5
The definition of 'ValidityState.tooLong' in that specification.
推荐

浏览器兼容性

The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
tooLong Chrome 15 Edge 12
12
Not supported in the unlikely case of the value being initially set too long, and then changed by the user to a still incorrect state. Per caniuse.com.
Firefox 4
4
Not supported in the unlikely case of the value being initially set too long, and then changed by the user to a still incorrect state. Per caniuse.com.
IE 10 Opera 15 Safari 11 WebView Android 4 Chrome Android Yes Firefox Android 64 Opera Android 14 Safari iOS 5 Samsung Internet Android Yes

图例

完整支持

完整支持

见实现注意事项。

另请参阅

元数据

  • 最后修改: