Skip to content

Commit

Permalink
Fix selector-pseudo-class-no-unknown false positives for some `moz-…
Browse files Browse the repository at this point in the history
…*` vendor-prefixed pseudo-classes (#8188)
  • Loading branch information
Mouvedia authored Dec 14, 2024
1 parent dc84af3 commit 6a3b170
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .changeset/dirty-fishes-approve.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/thin-buses-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stylelint": patch
---

Fixed: `selector-pseudo-class-no-unknown` false positives for some `moz-*` vendor-prefixed pseudo-classes
7 changes: 7 additions & 0 deletions lib/reference/selectors.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -238,21 +238,28 @@ const vendorSpecificPseudoClasses = new Set([
'-khtml-drag',
'-moz-any',
'-moz-any-link',
'-moz-bound-element',
'-moz-broken',
'-moz-dir',
'-moz-drag-over',
'-moz-empty-except-children-with-localname',
'-moz-first-node',
'-moz-focusring',
'-moz-full-screen',
'-moz-full-screen-ancestor',
'-moz-is-html',
'-moz-last-node',
'-moz-loading',
'-moz-meter-optimum',
'-moz-meter-sub-optimum',
'-moz-meter-sub-sub-optimum',
'-moz-only-whitespace',
'-moz-placeholder',
'-moz-read-only',
'-moz-read-write',
'-moz-submit-invalid',
'-moz-suppressed',
'-moz-table-border-nonzero',
'-moz-ui-invalid',
'-moz-ui-valid',
'-moz-user-disabled',
Expand Down
7 changes: 7 additions & 0 deletions lib/reference/selectors.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -235,21 +235,28 @@ const vendorSpecificPseudoClasses = new Set([
'-khtml-drag',
'-moz-any',
'-moz-any-link',
'-moz-bound-element',
'-moz-broken',
'-moz-dir',
'-moz-drag-over',
'-moz-empty-except-children-with-localname',
'-moz-first-node',
'-moz-focusring',
'-moz-full-screen',
'-moz-full-screen-ancestor',
'-moz-is-html',
'-moz-last-node',
'-moz-loading',
'-moz-meter-optimum',
'-moz-meter-sub-optimum',
'-moz-meter-sub-sub-optimum',
'-moz-only-whitespace',
'-moz-placeholder',
'-moz-read-only',
'-moz-read-write',
'-moz-submit-invalid',
'-moz-suppressed',
'-moz-table-border-nonzero',
'-moz-ui-invalid',
'-moz-ui-valid',
'-moz-user-disabled',
Expand Down

0 comments on commit 6a3b170

Please sign in to comment.