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