File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 24
24
25
25
## css_global_block_invalid_modifier_start
26
26
27
- > A ` :global ` selector at the very beginning cannot be modified by other selectors
27
+ > A ` :global ` selector can only be modified if it is a descendant of other selectors
28
28
29
29
## css_global_invalid_placement
30
30
48
48
49
49
## css_type_selector_invalid_placement
50
50
51
- > ` :global(...) ` must not be followed with a type selector
51
+ > ` :global(...) ` must not be followed by a type selector
Original file line number Diff line number Diff line change @@ -471,12 +471,12 @@ export function css_global_block_invalid_modifier(node) {
471
471
}
472
472
473
473
/**
474
- * A `:global` selector at the very beginning cannot be modified by other selectors
474
+ * A `:global` selector can only be modified if it is a descendant of other selectors
475
475
* @param {null | number | NodeLike } node
476
476
* @returns {never }
477
477
*/
478
478
export function css_global_block_invalid_modifier_start ( node ) {
479
- e ( node , "css_global_block_invalid_modifier_start" , "A `:global` selector at the very beginning cannot be modified by other selectors" ) ;
479
+ e ( node , "css_global_block_invalid_modifier_start" , "A `:global` selector can only be modified if it is a descendant of other selectors" ) ;
480
480
}
481
481
482
482
/**
@@ -525,12 +525,12 @@ export function css_selector_invalid(node) {
525
525
}
526
526
527
527
/**
528
- * `:global(...)` must not be followed with a type selector
528
+ * `:global(...)` must not be followed by a type selector
529
529
* @param {null | number | NodeLike } node
530
530
* @returns {never }
531
531
*/
532
532
export function css_type_selector_invalid_placement ( node ) {
533
- e ( node , "css_type_selector_invalid_placement" , "`:global(...)` must not be followed with a type selector" ) ;
533
+ e ( node , "css_type_selector_invalid_placement" , "`:global(...)` must not be followed by a type selector" ) ;
534
534
}
535
535
536
536
/**
You can’t perform that action at this time.
0 commit comments