Re: [csswg-drafts] [css-contain-3] Determine container type automatically from the query (#6644)

Perhaps it makes sense to go "name ONLY" for the explicit container selection, and use "nearest 'compatible' container" by default. Do we really need explicit container selection based on type if it can be deduced from the main query?

I.e. `@container <name>? <query>` (no slash).

Assuming we're actually OK with a weird "secondary" interpretation of the query. (The same query would be responsible for both _selecting_ a container to evaluate against, and also producing the main query result, might be confusing).

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


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

Received on Wednesday, 12 January 2022 20:17:09 UTC