compare scope when determining css conflicts (#134)

master
Brad Cornes 2020-06-23 21:14:47 +01:00
parent 3f07842da3
commit c5b5c1b116
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ export function getCssConflictDiagnostics(
!Array.isArray(meta) &&
!Array.isArray(otherMeta) &&
equal(meta.context, otherMeta.context) &&
equal(meta.pseudo, otherMeta.pseudo)
equal(meta.pseudo, otherMeta.pseudo) &&
meta.scope === otherMeta.scope
)
})