diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:10:59 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:41:44 +0800 |
| commit | fc87c009806dcc98867f6b58efe29b042aa01dee (patch) | |
| tree | 8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /node_modules/doiuse/data/features/css-not-sel-list.js | |
| parent | 3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff) | |
node: updatemain
Diffstat (limited to 'node_modules/doiuse/data/features/css-not-sel-list.js')
| -rw-r--r-- | node_modules/doiuse/data/features/css-not-sel-list.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/node_modules/doiuse/data/features/css-not-sel-list.js b/node_modules/doiuse/data/features/css-not-sel-list.js deleted file mode 100644 index ee745e7e..00000000 --- a/node_modules/doiuse/data/features/css-not-sel-list.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Selectors Level 3 only allowed `:not()` pseudo-class to accept a single simple selector, which the element must not match any of. Thus, `:not(a, .b, [c])` or `:not(a.b[c])` did not work. Selectors Level 4 allows `:not()` to accept a list of selectors. Thus, `:not(a):not(.b):not([c])` can instead be written as `:not(a, .b, [c])` and `:not(a.b[c])` works as intended. - * @see https://caniuse.com/css-not-sel-list - */ - -import { checkSelector } from '../../utils/util.js'; - -/** - * @type {import('../features').Feature} - */ -export default checkSelector( - (selector) => selector.includes(':not(') && !/:not\(.?#?-?[\w[\]-]+\)/.test(selector), -); |
