RESOLVED FIXED 6653
CSSStyleDeclaration returns empty string when trying to access shorthand properties using JS accessors
https://bugs.webkit.org/show_bug.cgi?id=6653
Summary CSSStyleDeclaration returns empty string when trying to access shorthand prop...
Anders Carlsson
Reported 2006-01-18 13:25:46 PST
When trying to access shorthand properties such as "border" and "padding" using style.border or style.padding, an empty string is returned
Attachments
Fix (2.63 KB, patch)
2006-01-18 13:35 PST, Anders Carlsson
darin: review+
Anders Carlsson
Comment 1 2006-01-18 13:35:26 PST
Darin Adler
Comment 2 2006-01-18 21:27:34 PST
Comment on attachment 5761 [details] Fix Looks fine. Why not always use getPropertyValue, though?
Anders Carlsson
Comment 3 2006-01-19 09:12:58 PST
The reason was the code that would check for a certain property and always use the pixel value
Note You need to log in before you can comment on or make changes to this bug.