Re: [csswg-drafts] [mediaqueries] Add media queries for preferred caret width and blink rate (#10202)

Numerical MQs are appropriate when the question you expect the page to ask is just "is the value in the range X-Y?", where the number of ranges you expect pages to ask about is fairly small.

It appears that you're instead asking for the ability to expose *a specific number* to sites, so JS-drawn carets can have the user's preferred caret behavior. That's best exposed as a specialized JS API, instead.

(Attempting to expose this as an MQ means that authors would have to do some sort of value search with multiple `matchMedia()` calls, which is a little silly.)

I suggest, then, proposing this as in [WICG](https://wicg.io/).

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


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

Received on Friday, 12 April 2024 22:55:08 UTC