Namespaces in namespace selectors are optional and can also be * #31

Closed
opened 2026-03-23 08:48:49 +01:00 by SirPepe · 0 comments
SirPepe commented 2026-03-23 08:48:49 +01:00 (Migrated from github.com)
Input: ```css |p { color: red; } ``` Result: ``` StyleSheet(⚠,RuleSet(TagSelector(TagName),Block("{",RuleSet(PseudoClassSelector(TagSelector(TagName),":",PseudoClassName),⚠(";")),"}"))) ``` Input: ```css *|p { color: red; } ``` Result: ``` StyleSheet(RuleSet(UniversalSelector,⚠),RuleSet(TagSelector(TagName),Block("{",RuleSet(PseudoClassSelector(TagSelector(TagName),":",PseudoClassName),⚠(";")),"}"))) ``` https://developer.mozilla.org/en-US/play?uuid=ef36ae454bae1e789d08e3f3ae0895f3c6cedd11&state=lZJPU9swEMW%2Fyo56IDDBNhQuxmRaOp32QLnA9KRDhKXYKrKkkeQ4LuS7s7JD%2Fk0vPdlaa99v3%2Fq9kjo0iuSksLOCQe3E4paST5TMvoKS%2BqVI2QykhlALkI1VUnD4%2BfTrHjRrhLesFEmR2hnVVBd%2BWUEneahR4SrLKIGlFN2dWeE5gwywBpdYxtsAh7BYwVoQqwDDdWzu8XlxjR%2FvcQ4onWAB4TjL4%2B8fO3yRxqZREmfFMVKcA59kSkrv0Vl6Bnc9mEaGIHUFbOidoiPpwYvgBz3mB4tcLFirwk4ezlKqv%2ByOrVMTijsLNk%2FTruuS7nNiXJVeZlkWwZSc3sRlIHResNn8Y3cfwhMkQjCReXpEYfAaXSyMDude%2FhU5XCRXTjSot95KRm9zYJrju%2F0veeycUm1HyLNxXLgcru0KvFGSQ2UU3yPFf%2B%2FBtMFLLsAsENkfCb5tBo77P%2BeiNI4FaXQOHVv20GoEoIoA2zqrxM3WWydkVYccZ%2FgHsZOhPmIZB9ocsc%2FeDrYVeoXrkoEpWQ6g0iiD9hpWCR3YyJZK7VfWQ0T%2BDAlJN%2FGCk33SCQ5S1sZRXRrtAybnFrgp2wYVkrHhuxLx9PCIoaBkCpSwMQEsienGhiHfQ4FZKzT%2FVkvFJ0cyT7jCB8MFqhyEPW4D%2F8Ems8NQKD8mbCvxbHh%2FIM7iBfSGwWgE2uPMvZD1Ow%3D%3D&srcPrefix=%2Fen-US%2Fdocs%2FWeb%2FCSS%2FReference%2FSelectors%2FNamespace_separator%2F
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lezer/css#31
No description provided.