Re: [csswg-drafts] [css-cascade] What is the appropriate syntax for appending to nested layers? (#5791)

Regarding commas; now that I can safely use comma-less color functions in CSS [[1]](#user-content-jonathantneal-ref1), commas read as fallbacks, consistent now too with my experience in `color()` and `var()`. The idea of it being a fallback may even be written into a spec somewhere.

Regarding forward slashes, I have read those as separators, which is how they are used in color functions and grid.

Therefore, I would interpret `@layer framework / default, framework / theme` to mean "_the layers 'framework' and 'default', or (as a fallback?) the layers 'framework' and 'theme'_".

<a name=jonathantneal-ref1 href="#user-content-jonathantneal-ref1">1</a>: An example of a comma-less color function would be `rgb(#663399)`. This also the syntax automatically generated in Chrome devtools when adjusting the color system)

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


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

Received on Wednesday, 27 January 2021 18:19:53 UTC