- commit
- fd6b4c3cceead0896c9a6c83a6329ac32d0095c8
- parent
- e52d8dca8f76f0235b8cce156a52df8e41572060
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-06-21 16:56
disable :has() selectors for compaibility
Diffstat
| M | lib/constants.js | 4 | ++-- |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/constants.js b/lib/constants.js
@@ -71,8 +71,8 @@ const scoped = ['article *', 'aside *', 'nav *', 'section *'].join(',');
71 71
72 72 const svgSelectors = function(selector) {
73 73 return [
74 -1 `${selector}:has(> title:not(:empty))`,
75 -1 `${selector}:has(> desc:not(:empty))`,
-1 74 // `${selector}:has(> title:not(:empty))`,
-1 75 // `${selector}:has(> desc:not(:empty))`,
76 76 `${selector}[aria-label]`,
77 77 `${selector}[aria-roledescription]`,
78 78 `${selector}[aria-labelledby]`,