Problem with call less extend in extend
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17k
- Forks
- 3.4k
- Avg merge
- 7h 42m
- Merged PRs (30d)
- 26
Description
Example
I have selector .abs-action-addto-product is defined in _extends.less, and it contains another extend:
My file styles.less have this
@import (reference) _extends.less;
.action.towishlist {
&:extend(.abs-action-addto-product all);
}
i have imported file _extends.less (reference import). This file contain define of .abs-action-addto-product
Inside _extends.less that .abs-action-addto-product call to another selector extend
Ex:
.abs-action-addto-product {
&:extend(.abs-action-link-button all);
}
in less 2.5.3 it's work but if i update less to 3.13.1 seem this not work anymore
Is this a known issue ?
CC: @matthew-dean @seven-phases-max
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.
Research direction
Start with the reduced nested :extend example in the issue and compare its output under Less 2.5.3 and 3.13.1. No source file or test is named; done means determining whether the version change is a regression and capturing the expected behavior in a reproducible test or clear issue finding.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100