Remove disabled attribute on HTMLLinkElement, HTMLStyleElement and SVGStyleElement (or standardize them again) |
|||||||||
Issue descriptionIt has been removed from HTML: https://github.com/whatwg/html/commit/cc5fa75c35354f7438327bbd816a2adf054a9379 Tests for existence: https://software.hixie.ch/utilities/js/live-dom-viewer/saved/4959 Implemented in: Blink, EdgeHTML, Gecko (except SVGStyleElement), WebKit Standard: https://github.com/whatwg/html/issues/1081
,
Feb 27 2017
,
Feb 28 2017
,
Mar 8 2017
,
Mar 9 2017
I think we should handle the two style elements together here. These are the counters for HTMLStyleElement: https://www.chromestatus.com/metrics/feature/timeline/popularity/812 https://www.chromestatus.com/metrics/feature/timeline/popularity/813 Usage is a bit high for comfort. The first step here I think is to understand how all the disabled IDL and content attributes fit together, and which bits are already shipping in all browser engines. I have a 50% hunch that the right path here will be to just add these things back to the specs.
,
Mar 9 2017
The HTMLLinkElement use counter is also relevant: https://www.chromestatus.com/metrics/feature/timeline/popularity/809
,
Mar 9 2017
Throwing in HTMLLinkElement into this bucket of work as well.
,
Mar 9 2017
Our IDL files link to this spec bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=14703
,
Mar 9 2017
This is tracked as https://github.com/whatwg/html/issues/1081. The problem is that the Chrome code for this (and probably the WebKit code also) is weirdly complicated and so I wasn't very keen on speccing it, especially without knowing what other UAs do. My ideal scenario would be discovering that Gecko and/or Edge implement a much simpler model, and that all the browsers are OK with converging on that.
,
Mar 9 2017
Out of these three element interfaces, all four engines have disabled everywhere, with one exception: Gecko doesn't have SVGStyleElement#disabled. All engines also have StyleSheet#disabled, although that isn't being considered for removal anyway.
,
Mar 9 2017
,
Mar 21 2017
,
Mar 21 2017
Concrete next step for this issue: Investigate in more detail what these IDL attributes do in each engine. One oddity to look at is the fact that HTMLLinkElement#disabled is a reflected attribute in Blink, but HTMLStyleElement#disabled and SVGStyleElement#disabled are bare IDL attributes. domenic@, do you know of other odd things that should be investigated?
,
Mar 3 2018
,
Jul 22
,
Jul 22
|
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by f...@opera.com
, Feb 24 2017