- Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=8079
REGRESSION: Redraw from page cache does not show visited links
* page/Frame.cpp: (WebCore::Frame::reparseConfiguration): Added back
updateStyleSelector call that was removed as part of the patch for bug 7907.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13649
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-04-02 David Kilzer <ddkilzer@kilzer.net>
+
+ Reviewed by Maciej.
+
+ - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=8079
+ REGRESSION: Redraw from page cache does not show visited links
+
+ * page/Frame.cpp: (WebCore::Frame::reparseConfiguration): Added back
+ updateStyleSelector call that was removed as part of the patch for bug 7907.
+
2006-04-02 Maciej Stachowiak <mjs@apple.com>
Reviewed by Hyatt.
setUserStyleSheetLocation(userStyleSheetLocation);
else
setUserStyleSheet(String());
+
+ // FIXME: It's not entirely clear why the following is needed.
+ // The document automatically does this as required when you set the style sheet.
+ // But we had problems when this code was removed. Details are in
+ // <http://bugzilla.opendarwin.org/show_bug.cgi?id=8079>.
+ if (d->m_doc)
+ d->m_doc->updateStyleSelector();
}
bool Frame::shouldDragAutoNode(Node *node, const IntPoint& point) const