Re: [csswg-drafts] [css-forms-1] `control-value()` function (#7869)

@nt1m Sounds good, thanks.

I do see the value in having the shorthand `number` type equivalent to `type(<number>)`, but that might be a discussion better had re `attr()`. Then, hopefully, those benefits will carry over here if we match the syntax for `control-value()`.

This is probably a one-off exception case, where a unit-less `number` is as common as those other unit types, is a native type for inputs (`type="number"`), and is commonly used in attributes as well.

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


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

Received on Wednesday, 2 April 2025 15:11:49 UTC