2006-01-19 Anders Carlsson <andersca@mac.com>
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jan 2006 17:14:33 +0000 (17:14 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jan 2006 17:14:33 +0000 (17:14 +0000)
commit43d1c73e08d2049db2a8e52cf98a133c751c318c
tree3b87c904ba731dd4e9bba53f45dbe904b41618eb
parentcebcda1207fb59b9a6e9d0f4a625b1e39b2f934b
2006-01-19  Anders Carlsson  <andersca@mac.com>

        Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6653
        CSSStyleDeclaration returns empty string when trying to access shorthand
        properties using JS accessors.

        * khtml/ecma/kjs_css.cpp:
        (KJS::DOMCSSStyleDeclaration::cssPropertyGetter):
        if getCSSPropertyValue returns 0 (which is true for shorthand properties),
        try getPropertyValue instead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12237 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/css-shortHands-expected.checksum
LayoutTests/fast/dom/css-shortHands-expected.png
LayoutTests/fast/dom/css-shortHands-expected.txt
LayoutTests/fast/dom/css-shortHands.html
WebCore/ChangeLog
WebCore/khtml/ecma/kjs_css.cpp