I noted that Shape Path Editor does not support use of CSS Custom Properties when used in clip-path
property.
For example, if you try the following code:
.foo {
clip-path: polygon(calc(var(--high) + var(--offset)) 0,
100% 0,
100% 100%,
calc(var(--low) + var(--offset)) 100%);
}
If you replace CSS Custom Properties with numbers (even leaving calc()
function) Inspector correctly shows you Shape Path Editor icon.
Please, could be added support also for CSS Custom Properties in it?