Re: [csswg-drafts] [css-contain] <container-name> name syntax question (#7299)

Right, the Grid thing is a completely novel thing we dont' use anywhere else, just because we need a way to group together a set of N possible line-names. That is, the `[]` are a grouping syntax, not part of the name. (You can write `[foo bar baz]` to give the line three names, for example.)

We *do*, on a case-by-case basis, use `<dashed-ident>` (like `--foo`) for author-defined identifiers, particularly when they're going to mix with language-defined keywords (either in the same value space, like for color space names, or just in a grammar where it's possible to create ambiguous parses). But there's no hard-and-fast rule about when we use `<dashed-ident>` versus just a `<custom-ident>`.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7299#issuecomment-1405772655 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 26 January 2023 22:46:40 UTC