File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
css-global-block-declaration
css-global-modifier-start-1
css-global-modifier-start-2
validator/samples/css-invalid-type-selector-placement Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { test } from '../../test';
3
3
export default test ( {
4
4
error : {
5
5
code : 'css_global_block_invalid_declaration' ,
6
- message : 'A `:global {...}` block can only contain rules, not declarations' ,
6
+ message : 'A top-level `:global {...}` block can only contain rules, not declarations' ,
7
7
position : [ 109 , 119 ]
8
8
}
9
9
} ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { test } from '../../test';
3
3
export default test ( {
4
4
error : {
5
5
code : 'css_global_block_invalid_modifier_start' ,
6
- message : 'A `:global` selector at the very beginning cannot be modified by other selectors' ,
6
+ message : 'A `:global` selector can only be modified if it is a descendant of other selectors' ,
7
7
position : [ 75 , 77 ]
8
8
}
9
9
} ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { test } from '../../test';
3
3
export default test ( {
4
4
error : {
5
5
code : 'css_global_block_invalid_modifier_start' ,
6
- message : 'A `:global` selector at the very beginning cannot be modified by other selectors' ,
6
+ message : 'A `:global` selector can only be modified if it is a descendant of other selectors' ,
7
7
position : [ 147 , 148 ]
8
8
}
9
9
} ) ;
Original file line number Diff line number Diff line change 1
1
[
2
2
{
3
3
"code" : " css_type_selector_invalid_placement" ,
4
- "message" : " `:global(...)` must not be followed with a type selector" ,
4
+ "message" : " `:global(...)` must not be followed by a type selector" ,
5
5
"start" : {
6
6
"line" : 17 ,
7
7
"column" : 14
You can’t perform that action at this time.
0 commit comments