Re: [csswg-drafts] [css-conditional-4] Need a way in CSS to test for support of HTML features (#9746)

The problem with the above proposal is that a registry of features for each language could go stale, and there's no good way from code to enforce that registry from being updated.

@annevk suggested linked with IDL, which I think is a much better idea, since IDL _needs_ to be updated in order to expose a new web feature.

`@supports idl(HTMLInputElement.prototype.switch)` or such. (syntax to be bikeshed)

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


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

Received on Friday, 22 December 2023 22:37:57 UTC