<link rel=stylesheet type=foo> is loaded anyways, and triggers error/load events, updates the document.styleSheets http://jsbin.com/haxova/1/edit?html,console,output Should this be done only if the node has a valid type attribute?
As a temporary workaround, I'm using the deprecated 'disabled' attribute together with 'type', e.g. <link rel=stylesheet type=foo disabled>
rniwa@webkit.org - Alternate stylesheet support with "type" only landed recently - https://bugs.webkit.org/show_bug.cgi?id=56932 Although in this - there is no error in console on the attached JSBin across all browsers (Safari 15.6, Safari Technical Preview 151, Chrome Canary 106 and Firefox Nightly 105). I don't think this is a bug at all and it can be closed as "RESOLVED INVALID", appreciate if you can have a look. Thanks!
We no longer load this stylesheet as expected.