Update the behavior of the "disabled" attribute for HTMLLinkElement
Previously, Chromium had intermittent behavior with respect to the "disabled" attribute: - <link id=foo rel="stylesheet" disabled> would not show up in document.styleSheets. - foo.disabled=false; foo.disabled=true; would cause it to appear (and remain) in document.styleSheets. - <link rel="alternate stylesheet"> cannot be enabled, except by disabling and re-enabling it. - When disabled, link.ownerNode was not null The above issues are being resolved.
The behavior of <link disabled> was not very interoperable, and not well specified. With this HTML spec PR (https://github.com/whatwg/html/pull/4519) the behavior has been more completely specified. Chrome will implement this modified behavior starting in M85. See https://github.com/whatwg/html/issues/3840 for more details and conversation.
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 85
- Chrome for Android release 85
- Android WebView release 85
Consensus & Standardization
Search tagslink, stylesheet, disabled,
Last updated on 2020-10-05