LayoutTests:
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Jun 2006 00:52:34 +0000 (00:52 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Jun 2006 00:52:34 +0000 (00:52 +0000)
commitbcc86947784f88fa2beb7565b81f187aad03c624
treeb19afe5966cc780cfedd58559b355e35f80cb582
parent39a2a6621be918724d196e92357b3cc3c2317b13
LayoutTests:

        Reviewed by Hyatt, checked in by Tim H.

        Adding testcase for bug 8223.

        * fast/dom/css-inline-style-important-expected.checksum: Added.
        * fast/dom/css-inline-style-important-expected.png: Added.
        * fast/dom/css-inline-style-important-expected.txt: Added.
        * fast/dom/css-inline-style-important.html: Added.

WebCore:

        Reviewed by Hyatt, checked in by Tim H.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=8223
        WebKit fails to update style on element via DOM

        Handle !important by detecting it and using a different code
        path from normal priority.

        * bindings/js/kjs_css.cpp:
        (KJS::DOMCSSStyleDeclaration::put):
        * css/CSSStyleDeclaration.cpp:
        (WebCore::CSSStyleDeclaration::setProperty):
        * css/CSSStyleDeclaration.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/css-inline-style-important-expected.checksum [new file with mode: 0644]
LayoutTests/fast/dom/css-inline-style-important-expected.png [new file with mode: 0644]
LayoutTests/fast/dom/css-inline-style-important-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/css-inline-style-important.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/bindings/js/kjs_css.cpp
WebCore/css/CSSStyleDeclaration.cpp
WebCore/css/CSSStyleDeclaration.h