Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix selector-pseudo-class-no-unknown false positives for :active-view-transition and :active-view-transition-type() #7868

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/grumpy-insects-compete.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 `:active-view-transition` and `:active-view-transition-type()`
2 changes: 2 additions & 0 deletions lib/reference/selectors.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ const pseudoClasses = uniteSets(
vendorSpecificPseudoClasses,
[
'active',
'active-view-transition',
'active-view-transition-type',
'any-link',
'autofill',
'blank',
Expand Down
2 changes: 2 additions & 0 deletions lib/reference/selectors.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ export const pseudoClasses = uniteSets(
vendorSpecificPseudoClasses,
[
'active',
'active-view-transition',
'active-view-transition-type',
'any-link',
'autofill',
'blank',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ testRule({
},
{
code: ':popover-open {}',
description: 'explicit :popover-open test; see #7424',
description: 'explicit :popover-open test',
},
{
code: ':active-view-transition, :active-view-transition-type() {}',
},
{
code: ':seeking, :stalled, :buffering, :volume-locked, :muted {}',
Expand Down
Loading