-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-contain-3] Add CSSOM API for CSSContainerRule #7033
Comments
Might need to add @container specifics prose for conditionText like we have for @support, but the syntax is e.g. currently missing <general-enclosed>.
Still fairly new to CSSOM definitions. Can we rely on the As a start, this is a slightly modified version of what we have for
|
You should be able to rely on it; just copy @supports, yeah. |
Drafted. Agenda+ for a resolution on this approach. |
Please make any attributes |
conditionText is resolved to be readonly in issue #6819, but the spec hasn't been changed yet. I added the NeedsEdits label to the issue. |
I think we could resolve on this approach asynchronously. Once the spec has the |
Since |
No. |
- Add containerName, containerQuery. - Reorganize syntax so that conditionText and containerQuery both map to productions which make sense. w3c#7033
Maybe we should also have a getter for the query container. So, depending on what's set for Sebastian |
In the discussion in #4240, I realized that it may also be useful for authors as well as developer tools to have a getter that exposes the matching query container. So something like Sebastian |
The spec needs to specify a CSSContainerRule interface for @container rules. It should extend the CSSConditionRule.
The text was updated successfully, but these errors were encountered: