Skip to content

Commit

Permalink
Drop @supports and @media special cases from the compat plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Dec 10, 2021
1 parent 9ee44e7 commit 26b3e2d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/cache/src/stylis-plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,6 @@ export let compat = element => {
element.column === parent.column && element.line === parent.line

while (parent.type !== 'rule') {
if (
// @media
parent.type.charCodeAt(1) !== 109 &&
// @supports
parent.type.charCodeAt(1) !== 115
) {
return
}
parent = parent.parent
if (!parent) return
}
Expand Down

0 comments on commit 26b3e2d

Please sign in to comment.