-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
@starting-style doesn't nest correctly #4267
Comments
@mariusGundersen Experimental CSS, by definition, is generally not supported by Less. That said, Less's default behavior of bubbling any at-rule that is undefined should probably be re-thought, or an escape-hatch provided. So this is more a feature request than a bug. |
With more and more @-rules being added (e.g. |
Additional information:
|
|
Starting style is not experimental anymore |
Yup, this should be supported now. Any timeline on this? |
I have working code for If things go well I'll prepare a PR to this repo, but no guarantee of code merge or that a release will be published. I maintain my fork since I use it for some of my projects, so PRs are welcome there. |
Less.js 4.2.1 fork release with support for CSS Container Queries, Media Queries Level 4, starting-style at-rule, and scope at-rule support with all tests passing: https://github.com/puckowski/less.js/releases/tag/4.2.1-container-mq4-tr2-scope-1 I'll likely get around to submitting a PR to this repo just for If you use the fork and run into an issue, feel free to open an issue on the fork. |
@puckowski v4.2.1 released - https://www.npmjs.com/package/less - it may have some pulls your fork does not. Btw, this repo could definitely use more core contributors. |
Thank you for publishing Less.js I do not have access otherwise I would help, but release |
PR #4289 should resolve this issue. I'll support any requested revisions until it gets merged. |
Hi @puckowski, out of curiosity, will this also address Currently I see in 4.2.1 Playground I see this:
results in:
But I see 4.1.3 produced the expected output:
Thanks! |
To reproduce:
Playground link
Current behavior:
This produces the following output, which is clearly incorrect:
Expected behavior:
It should produce the following css:
Environment information:
less
version: 4.2.0This is based on the sample code from mdn: https://developer.mozilla.org/en-US/docs/Web/CSS/@starting-style
The text was updated successfully, but these errors were encountered: