Changeset 27579 in webkit
- Timestamp:
- Nov 7, 2007, 12:59:00 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r27576 r27579 1 2007-11-07 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Dave Hyatt. 4 5 - test for http://bugs.webkit.org/show_bug.cgi?id=15887 6 REGRESSION (r27576): Crash in RenderStyle::affectedByHoverRules clicking link on Digg 7 8 * fast/css/display-none-inline-style-change-crash-expected.txt: Added. 9 * fast/css/display-none-inline-style-change-crash.html: Added. 10 1 11 2007-11-07 Dan Bernstein <mitz@apple.com> 2 12 -
trunk/WebCore/ChangeLog
r27578 r27579 1 2007-11-07 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Dave Hyatt. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=15887 6 REGRESSION (r27576): Crash in RenderStyle::affectedByHoverRules clicking link on Digg 7 8 Test: fast/css/display-none-inline-style-change-crash.html 9 10 * dom/Element.cpp: 11 (WebCore::Element::recalcStyle): Fixed the crash by null-checking 12 the current style and removed other checks that are not strictly 13 necessary. 14 1 15 2007-11-07 Tristan O'Tierney <tristan@apple.com> 2 16 -
trunk/WebCore/dom/Element.cpp
r27576 r27579 725 725 } 726 726 727 if ( newStyle && change != Force && styleChangeType() != FullStyleChange && document()->usesDescendantRules()) {727 if (currentStyle && newStyle) { 728 728 // Preserve "affected by" bits that were propagated to us from descendants 729 729 if (currentStyle->affectedByHoverRules())
Note:
See TracChangeset
for help on using the changeset viewer.