Version: (using KDE KDE 3.4.0) Installed from: Gentoo Packages Compiler: gcc 3.4.3 OS: Linux When stylesheet is linked using <link> element, it can be disabled (so another can be chosen) from script. But shen stylesheet is embedded using <style> element, setting the "disabled" property to "true" does nothing. i.e.: for (var a = document.getElementsByTagName('link'), i = 0, l = a.length; i < l; i++) a[i].disabled = true; works (disabled all linked stylesheets), but: for (var a = document.getElementsByTagName('style'), i = 0, l = a.length; i < l; i++) a[i].disabled = true; doesn't work.
Confirmed on SVN r575787
Seems to be similar problem to this one : https://bugs.kde.org/show_bug.cgi?id=76489
Absolutely nothing in common.
I see... This is because it's a DOM2 HTML property that has no equivalent in HTML4.01...
Created attachment 23248 [details] patch Patch... Regtesting, and still in need of review
Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding.
Created attachment 71985 [details] testcase
Bug confirmed (khtml 4.8.90).