LayoutTests:
Reviewed by Hyatt.
- test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9252
REGRESSION: Very odd roll-over issues (content disappearing)
* fast/dom/HTMLLinkElement/pending-stylesheet-count.html: Added.
* fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.txt: Added.
* fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.png: Added.
* fast/dom/HTMLLinkElement/pending-stylesheet-count-expected.checksum: Added.
WebCore:
Reviewed by Hyatt.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9252
REGRESSION: Very odd roll-over issues (content disappearing)
Test: fast/dom/HTMLLinkElement/pending-stylesheet-count.html
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::~HTMLLinkElement): If the stylesheet was being
loaded, call stylesheetLoaded() on the document, to keep the pending stylesheet
count correct.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14714
268f45cc-cd09-0410-ab3c-
d52691b4dbfc