[go: nahoru, domu]

Skip to content
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-syntax][css-nesting] Design of @nest rule #1487

Open
mozilla-apprentice opened this issue May 29, 2024 · 0 comments
Open

[css-syntax][css-nesting] Design of @nest rule #1487

mozilla-apprentice opened this issue May 29, 2024 · 0 comments

Comments

@mozilla-apprentice
Copy link
Collaborator

A resolution was made for csswg-drafts/#10234.

[css-syntax][css-nesting] Design of `@nest` rule

  • RESOLVED: 1. Introduce a CSSNestedDeclarations object inheriting from CSSRule and having a .style accessor, and use that to represent the declaration lists in a CSSStyleRule. It serializes as a raw declaration list. 2. Extend .insertRule() to parse declarations (or, if Web-compat requires, add .insertDeclarations()) into a CSSNestedDeclarations Object. 3. Open a new issue wrt the first declarations block.

Discussion.


To file a bug automatically for these resolutions, add the bug label to the issue.

If no bug is needed, the issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant