Re: [w3ctag/design-reviews] HTMLScriptElement.supports(type) method (#674)

@plinss and I looked at the proposal during our Gethen vf2f. The overall author simplification and improvement of the API over what they need to do today is certainly great. 

One concern we have is they way the capability is to be exposed, the `supports` method. If this API was designed to check for any kind of support on the HTMLScriptElement then that would be fine, but you are restricting it to the `type` only. Perhaps you should consider exposing it as `HTMLScriptElement.type.supports()` (not sure if possible) or `HTMLScriptElement.supportsType()`. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/674#issuecomment-919569046

Received on Tuesday, 14 September 2021 22:59:17 UTC