summaryrefslogtreecommitdiff
path: root/node_modules/doiuse/data/features/css-has.js
blob: da108c07c4f58636a255b409c515b94c895471e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
/**
 * Select elements containing specific content. For example, `a:has(img)` selects all `<a>` elements that contain an `<img>` child.
 * @see https://caniuse.com/css-has
 */

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

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