diff options
Diffstat (limited to 'node_modules/doiuse/data/features/css-placeholder-shown.js')
| -rw-r--r-- | node_modules/doiuse/data/features/css-placeholder-shown.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/doiuse/data/features/css-placeholder-shown.js b/node_modules/doiuse/data/features/css-placeholder-shown.js new file mode 100644 index 00000000..1a92d39e --- /dev/null +++ b/node_modules/doiuse/data/features/css-placeholder-shown.js @@ -0,0 +1,12 @@ +/** + * :placeholder-shown CSS pseudo-class + * Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in HTML5. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text. + * @see https://caniuse.com/css-placeholder-shown + */ + +import { checkSelector } from '../../utils/util.js'; + +/** + * @type {import('../features').Feature} + */ +export default checkSelector(':placeholder-shown'); |
