You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/svelte/src/compiler/errors.js
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -581,6 +581,15 @@ export function css_global_block_invalid_modifier_start(node) {
581
581
e(node,'css_global_block_invalid_modifier_start',`A \`:global\` selector can only be modified if it is a descendant of other selectors\nhttps://svelte.dev/e/css_global_block_invalid_modifier_start`);
582
582
}
583
583
584
+
/**
585
+
* A `:global` selector cannot be inside a pseudoclass
e(node,'css_global_block_invalid_placement',`A \`:global\` selector cannot be inside a pseudoclass\nhttps://svelte.dev/e/css_global_block_invalid_placement`);
591
+
}
592
+
584
593
/**
585
594
* `:global(...)` can be at the start or end of a selector sequence, but not in the middle
0 commit comments