Re: [w3ctag/design-reviews] Behavior of the "disabled" attribute for HTMLLinkElement (#519)

> (Working notes)
> 
> There was mention in the original bug(s) about HTMLStyleElement and SVGStyleElement, but the PR on HTML only seems to address HTMLLinkElement. We should follow up what happened with the other two.

HTMLStyleElement and SVGStyleElement have a `disabled` WebIDL attribute, but not a `disabled` html attribute... This is all more messy than it should, I know.

Ideally either:

 * The `<link disabled>` attribute wouldn't do anything special and all the WebIDL attributes would do the same thing in all the relevant elements. This is what Gecko used to implement, but had to implement the attribute for compat.

 * Maybe we also implement `<style disabled>`, behaving the same as `<link>`? That may be nice, though on the other hand the "explicitly enabled" stuff is a bit hackish, so not a fan of making it apply to all `LinkStyle`s... Still may be a better end state.

-- 
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/519#issuecomment-645740143

Received on Thursday, 18 June 2020 02:58:07 UTC