Dependent property redefinition
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
Research direction
Start with the CSS reproduction in this issue and trace how the plugin resolves dependent custom properties when a nested rule changes --source. Compare the transformed output with the expected result, and consider the issue done when the nested .b rule produces color: blue while the parent remains color: red.
Written by the indexing model from the issue text.
Description
Dependent property should be redefined if source property is changed.
Input:
.a {
--source: red;
--dependent: var(--source);
color: var(--dependent);
}
.a .b {
--source: blue;
color: var(--dependent);
}
Actual:
.a {
color: red;
}
.a .b {
color: red;
}
Expected:
.a {
color: red;
}
.a .b {
color: blue;
}
- Dominant language
- JavaScript
- Stars
- 551
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
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 MadLittleMods/postcss-css-variables
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 68/100
MadLittleMods/postcss-css-variables#80 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
MadLittleMods/postcss-css-variables#140 · 1 comment · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
MadLittleMods/postcss-css-variables#139 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
MadLittleMods/postcss-css-variables#137 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
MadLittleMods/postcss-css-variables#135 · 2 comments · 2 reactions ·
All issues in MadLittleMods/postcss-css-variables
Similar issues
-
Design only Leadership Survey SLFS
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
bcgov/digital-journeys#2293 ·
-
Toolkit
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
API Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ProjectSidewalk/SidewalkWebpage#5556 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jessepollak/home#1454 ·
Maintainers usually reply within 1 day
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
opensearch-project/OpenSearch-Dashboards#12822 ·
Maintainers usually reply within 1 day