summaryrefslogtreecommitdiff
path: root/node_modules/doiuse/data/features/css-in-out-of-range.js
blob: dae751db2e1eff66e88bd01c6308da0ec054989b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * If a temporal or number `<input>` has `max` and/or `min` attributes, then `:in-range` matches when the value is within the specified range and `:out-of-range` matches when the value is outside the specified range. If there are no range constraints, then neither pseudo-class matches.
 * @see https://caniuse.com/css-in-out-of-range
 */

import { checkSelector } from '../../utils/util.js';

/**
 * @type {import('../features').Feature}
 */
export default checkSelector([
  ':in-range',
  ':out-of-range',
]);