-
Notifications
You must be signed in to change notification settings - Fork 791
[css-syntax] '>>' and '>>>' should be a token #712
Copy link
Copy link
Closed
Labels
Closed Rejected as Wontfix by CSSWG ResolutionCommenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.Testing UnnecessaryMemory aid - issue doesn't require testsMemory aid - issue doesn't require testscss-syntax-3
Milestone
Metadata
Metadata
Assignees
Labels
Closed Rejected as Wontfix by CSSWG ResolutionCommenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.Testing UnnecessaryMemory aid - issue doesn't require testsMemory aid - issue doesn't require testscss-syntax-3
Type
Fields
Give feedbackNo fields configured for issues without a type.
CSS scoping spec defines
>>>as shadow-piercing descendant combinator:https://drafts.csswg.org/css-scoping/#deep-combinator
CSS selectors defines
>>as descendant combinator:https://drafts.csswg.org/selectors-4/#descendant-combinator
Currently CSS syntax does not specify these (
>>and>>>) as tokens,and
>>>is parsed as 3 consecutivedelim-token(>) s.https://drafts.csswg.org/css-syntax/
Therefore
>/**/>/**/>is allowed to mean a>>>combinator, but probablyit does not make any sense. We propose to define
>>and>>>asdistinct tokens.