-
mitz@apple.com authored
Reviewed by Darin Adler. - fix a bug where CSS rules with :hover in the ancestor chain stopped working after changing the inline style declaration of the ancestor Test: fast/css/affected-by-hover-after-style-change.html * dom/Element.cpp: (WebCore::Element::recalcStyle): If we are not forcing style recalculation for all descendants, preserve any "affected by {hover|active|drag} bits that we may have acquired from them. Also renamed _style to currentStyle. WebKitSite: Reviewed by Darin Adler. - removed a workaround for the bug fixed in the WebCore part of this patch * misc/DatabaseExample.html: LayoutTests: Reviewed by Darin Adler. - test that CSS rules with :hover in the ancestor chain continue to work after changing the inline style declaration of the ancestor * fast/css/affected-by-hover-after-style-change.html: Added. * platform/mac/fast/css/affected-by-hover-after-style-change-expected.checksum: Added. * platform/mac/fast/css/affected-by-hover-after-style-change-expected.png: Added. * platform/mac/fast/css/affected-by-hover-after-style-change-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9e8a8657