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

Math expressions directly assigned to a CSS custom property are not computed. #619

Open
anrikun opened this issue Feb 24, 2024 · 0 comments

Comments

@anrikun
Copy link

anrikun commented Feb 24, 2024

  --test1: (1 / 2);

  @value: (1 / 2);
  --test2: @value;

compiles to:

  --test1: (1 / 2);
  --test2: 0.5;

I would expect both to compile to 0.5
I can't find any mention of this in documentation.

EDIT: see less/less.js#3800

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

No branches or pull requests

1 participant