Re: [csswg-drafts] [css-forms-1] For `control-value()` to be useful it needs a way to convert to other types. (#11842)

One possible way around this specifically for progress (and similar for meter( is to do something like below, because their values are encoded in the DOM.

```css
progress:not(:indeterminate)::fill {
    inline-size: calc(100% * calc(attr(value, 0) / attr(max, 100)));
}
```

-- 
GitHub Notification of comment by lukewarlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11842#issuecomment-2702111112 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 5 March 2025 21:23:57 UTC