diff --git a/packages/test-data/css/_main/custom-property.css b/packages/test-data/css/_main/custom-property.css index ad430c143..b02be5a16 100644 --- a/packages/test-data/css/_main/custom-property.css +++ b/packages/test-data/css/_main/custom-property.css @@ -22,3 +22,8 @@ --some-var: 5px; prop: min(100% - var(--some-var, var(--somevar, 0)), 10px); } +.test7 { + --some-var: 6px; + --some-var-2: 7px; + prop: min(100% - var(--some-var, var(--somevar, var(--some-var-2, 8px))), 10px); +} diff --git a/packages/test-data/less/_main/custom-property.less b/packages/test-data/less/_main/custom-property.less index ede8d0551..b2bcffc68 100644 --- a/packages/test-data/less/_main/custom-property.less +++ b/packages/test-data/less/_main/custom-property.less @@ -27,3 +27,9 @@ --some-var: 5px; prop: min(100% - var(--some-var, var(--somevar, 0)), 10px); } + +.test7 { + --some-var: 6px; + --some-var-2: 7px; + prop: min(100% - var(--some-var, var(--somevar, var(--some-var-2, 8px))), 10px); +}