RESOLVED CONFIGURATION CHANGED 33033
style object does not return all style objects
https://bugs.webkit.org/show_bug.cgi?id=33033
Summary style object does not return all style objects
John A. Bilicki III
Reported 2009-12-29 17:37:45 PST
This script works correctly in Opera, Firefox, and IE... var dom_properties=new Array(); for (var a in document.getElementById('element_id').style) {dom_properties.push(a);} dom_properties.sort(); alert(dom_properties); This is important to me as a web designer as I test and compare DOM lists of browsers/versions to see what is new so I can start implementing it in my work. If I'm not aware of it (because it's not listed) or either buried in documentation or not documented at all it becomes much more tedious to try to implement new features. I have also just filed a bug over at KDE, the bug number is 220627 and unfortunately KHTML's DOM is not well documented, as far as from what I can tell.
Attachments
Alexey Proskuryakov
Comment 1 2009-12-29 22:17:56 PST
John A. Bilicki III
Comment 2 2011-03-02 11:11:31 PST
The following link provides a visual of methods and properties detected in every browser, the property list for WebKit browsers is very short compared to other browsers... http://www.jabcreations.com/blog/?prompt=console-dom This resource was not available when I made the initial bug report.
Alexander Pavlov (apavlov)
Comment 3 2012-11-21 01:40:32 PST
Unless I'm mistaken, this was fixed in bug 23946.
Note You need to log in before you can comment on or make changes to this bug.