summaryrefslogtreecommitdiff
path: root/node_modules/doiuse/data/features/css-default-pseudo.js
blob: e191fd885f0a8fa71eaaf9ea3840f2184beaf4b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * The `:default` pseudo-class matches checkboxes and radio buttons which are checked by default, `<option>`s with the `selected` attribute, and the default submit button (if any) of a form.
 *
 * See: https://caniuse.com/css-default-pseudo
 */

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

/**
 * @type {import('../features').Feature}
 */
export default checkSelector(':default');