Skip to content

Commit

Permalink
fix selectors within pseudo selectors getting prefixed
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyc committed Jun 13, 2020
1 parent c3e2c10 commit 6b746cb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ const wrap = function( namespace, ignore = [] ) {
} ) ||
// ... start with keyframe specific selectors
firstChildNode.name === 'from' ||
firstChildNode.name === 'to'
firstChildNode.name === 'to' ||
// ...is within a function, a pseudo class selector or a pseudo element
// selector
this.function !== null
)
return;

Expand Down

0 comments on commit 6b746cb

Please sign in to comment.