Math expressions directly assigned to a CSS custom property are not computed.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- css
- Domain
- documentation
Research direction
Start by reviewing the behavior described in this issue and the linked Less issue #3800. No files, tests, or entry points are identified in the payload. Done should establish whether direct CSS custom-property expressions are expected to compute like variable references and record or document the confirmed behavior.
Written by the indexing model from the issue text.
Description
--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.
- Dominant language
- Less
- Stars
- 680
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from less/less-docs
-
Russian translation Open
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
good first issue up-for-grabs
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 20/100
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·