Bug 102136 - [patch] "disabled" property of "style" elements not functional
Summary: [patch] "disabled" property of "style" elements not functional
Status: REOPENED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.8.90 (beta2)
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: testcase
Depends on:
Blocks:
 
Reported: 2005-03-22 01:20 UTC by Zeev Tarantov
Modified: 2012-06-20 12:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch (4.01 KB, patch)
2008-01-24 19:09 UTC, Maksim Orlovich
Details
testcase (395 bytes, text/html)
2012-06-20 12:57 UTC, Andrea Iacovitti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zeev Tarantov 2005-03-22 01:20:57 UTC
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.
Comment 1 Philip Rodrigues 2006-09-01 21:05:37 UTC
Confirmed on SVN r575787
Comment 2 rapsys 2006-10-05 23:49:23 UTC
Seems to be similar problem to this one : https://bugs.kde.org/show_bug.cgi?id=76489
Comment 3 Maksim Orlovich 2006-10-06 01:28:40 UTC
Absolutely nothing in common.
Comment 4 Maksim Orlovich 2008-01-24 18:38:55 UTC
I see... This is because it's a DOM2 HTML property that has no equivalent in HTML4.01...
Comment 5 Maksim Orlovich 2008-01-24 19:09:48 UTC
Created attachment 23248 [details]
patch

Patch... Regtesting, and still in need of review
Comment 6 Janek Bevendorff 2012-06-19 17:43:01 UTC
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.
Comment 7 Andrea Iacovitti 2012-06-20 12:57:19 UTC
Created attachment 71985 [details]
testcase
Comment 8 Andrea Iacovitti 2012-06-20 12:59:31 UTC
Bug confirmed (khtml 4.8.90).