https://bugzilla.wikimedia.org/show_bug.cgi?id=41331
--- Comment #6 from Krinkle <krinklem...@gmail.com> 2012-10-24 19:15:09 UTC --- (In reply to comment #4) > Ooh, this is interesting: using 'http://' instead of just '//' does work. > Either jQuery or IE8 has a problem with protocol relative URLs. As > importStylesheetURI does work with '//', my bet is on jQuery. I mentioned that already: (Cited from comment #1) > > mw.loader.load('//example.org/some-styles.css', 'text/css'); > > [..] I noticed IE8/WinXP seems to be throwing security warnings when > dynamically inserting <link> from the console with a protocol relative url > when > on HTTPS. Not sure if that is related. Note though that jQuery is just javascript. Whatever it is, is a bug in IE8, not jQuery. Except for a few rare cases there is no such thing as a "jQuery bug" in most cases. Essentially what jQuery is doing is just this: > var el = document.createElement('link'); > el.setAttribute('type', ..); > el.setAttribute('rel', ..); > el.setAttribute('href', ..); > var target = document.getElementsByTagName( 'head' )[0]; > target.appendChild( el ); So the only difference I see is that it uses attributes instead of properties. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l