csstree / csstree/validator

clamp() throwing an incorrect error

Open
#33 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
73
Forks
14
PR merge metrics
No merged PRs in 30d

Description

It seems that using `clamp()` as a value in both `height` and `font-size` both fail validation. This is likely a problem with `clamp()` across all properties.

Specifically, I'm using the basic examples from MDN as a test case:
```
height: clamp(1rem, 10vw, 2rem);
```
```
font-size: clamp(1rem, 10vw, 2rem);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.