只读 tooShort property of a ValidityState object indicates if the value of an <input> , <button> , <select> , <output> , <fieldset> or <textarea> , after having been edited by the user, is less than the minimum code-unit length established by the element's minlength 属性。

规范

规范 状态 注释
HTML 实时标准
The definition of 'ValidityState.tooShort' in that specification.
实时标准
HTML 5.1
The definition of 'ValidityState.tooShort' in that specification.
推荐
HTML5
The definition of 'ValidityState.tooShort' 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
tooShort Chrome 40 Edge 17 Firefox 51 IE No Opera 27 Safari 11 WebView Android 67 Chrome Android Yes Firefox Android 64 Opera Android 27 Safari iOS 10 Samsung Internet Android Yes

图例

完整支持

完整支持

不支持

不支持

另请参阅

元数据

  • 最后修改: