Reviewed by Hyatt.
[WebKit-https.git] / WebCore / ChangeLog
index e33b3cc15d6a9902335699864f831b08a284b930..f34ff45f6f41cc7b125479a8ad7d7927fdbcaefb 100644 (file)
@@ -1,3 +1,21 @@
+2006-05-09  Mitz Pettel  <opendarwin.org@mitzpettel.com>
+
+        Reviewed by Hyatt.
+
+        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8760
+          crash (hang?) on subtlegradient.com article page
+
+        * manual-tests/first-line-style-crash.html: Added.
+
+        * css/cssstyleselector.cpp:
+        (WebCore::CSSStyleSelector::createStyleForElement): Changed to not return the
+        shared styleNotYetAvailable if allowSharing is off.
+        * rendering/RenderObject.cpp:
+        (WebCore::RenderObject::getPseudoStyle): In the FIRST_LINE_INHERITED case,
+        set the styleType on the style returned from createStyleForElement().
+        * rendering/render_style.h:
+        (WebCore::RenderStyle::setStyleType): Added. Called from RenderObject::getPseudoStyle().
+
 2006-05-09  Mitz Pettel  <opendarwin.org@mitzpettel.com>
 
         Reviewed by Hyatt.