-
mitz@apple.com authored
Reviewed by Dave Hyatt. - fix http://bugs.webkit.org/show_bug.cgi?id=15887 REGRESSION (r27576): Crash in RenderStyle::affectedByHoverRules clicking link on Digg Test: fast/css/display-none-inline-style-change-crash.html * dom/Element.cpp: (WebCore::Element::recalcStyle): Fixed the crash by null-checking the current style and removed other checks that are not strictly necessary. LayoutTests: Reviewed by Dave Hyatt. - test for http://bugs.webkit.org/show_bug.cgi?id=15887 REGRESSION (r27576): Crash in RenderStyle::affectedByHoverRules clicking link on Digg * fast/css/display-none-inline-style-change-crash-expected.txt: Added. * fast/css/display-none-inline-style-change-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
6201fc44