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

[Bug] : mergeLonghand should not apply to CSS variables #1051

redallen opened this issue Apr 19, 2021 · 0 comments · Fixed by #1057

[Bug] : mergeLonghand should not apply to CSS variables #1051

redallen opened this issue Apr 19, 2021 · 0 comments · Fixed by #1057


Copy link

Describe the bug
mergeLonghand should not apply to CSS vars since it cannot know what the var expands to.

To Reproduce

.pf-c-select__toggle::before {
    border-color: var(--pf-c-select__toggle--before--BorderTopColor) var(--pf-c-select__toggle--before--BorderRightColor) var(--pf-c-select__toggle--before--BorderBottomColor) var(--pf-c-select__toggle--before--BorderLeftColor);
    border-style: solid;
    border-width: var(--pf-c-select__toggle--before--BorderWidth);


  border-left:var(--pf-c-select__toggle--before--BorderWidth) solid var(--pf-c-select__toggle--before--BorderLeftColor);
  border-bottom:var(--pf-c-select__toggle--before--BorderWidth) solid var(--pf-c-select__toggle--before--BorderBottomColor);
  border-right:var(--pf-c-select__toggle--before--BorderWidth) solid var(--pf-c-select__toggle--before--BorderRightColor);
  border-top:var(--pf-c-select__toggle--before--BorderWidth) solid var(--pf-c-select__toggle--before--BorderTopColor)

Expected behavior
Expected output: Same as input.


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

Successfully merging a pull request may close this issue.

1 participant