Re: [csswg-drafts] [css-contain-3] Provide a syntax to query a specific container-type (#6393)

I think there are two or three potential resolutions here:

1. Change the query preamble syntax to `@container <name>? [ / <type> ]? { ... }`
2. Change the container shorthand to match, with name first `container: <'container-name'>? [ / <'container-type'> ]?`
3. Make `type` optional for establishing containers:
   - Containers with a name and no type are considered style containers
   - Or perhaps all elements are style containers by default?

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


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

Received on Tuesday, 7 December 2021 19:45:07 UTC