summaryrefslogtreecommitdiff
path: root/node_modules/doiuse/data/features/css-dir-pseudo.js
blob: 0b16e8f85565f5f851a4d08e1d18b9118e88c618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * Matches elements based on their directionality. `:dir(ltr)` matches elements which are Left-to-Right. `:dir(rtl)` matches elements which are Right-to-Left.
 *
 * See: https://caniuse.com/css-dir-pseudo
 */

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

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