-
mihaip@chromium.org authored
Reviewed by Darin Fisher. [Chromium] User style layout tests don't pass on Chromium https://bugs.webkit.org/show_bug.cgi?id=46069 User style tests should now pass with the Chromium DRT since we now apply the styles immediately, just like the other ports (once we also remove some bad baselines for user-style-top-frame-only added by r62958). Tests still don't pass with test_shell until it starts to use InjectInExistingDocuments too. * platform/chromium-mac/userscripts/user-style-top-frame-only-expected.txt: Removed. * platform/chromium-win/userscripts/user-style-top-frame-only-expected.txt: Removed. * platform/chromium/drt_expectations.txt: 2010-09-22 Mihai Parparita <mihaip@chromium.org> Reviewed by Darin Fisher. [Chromium] User style layout tests don't pass on Chromium https://bugs.webkit.org/show_bug.cgi?id=46069 Instead of making resetUserStyleCacheInAllFrames be a no-op for Chromium, have it be controlled by a UserStyleInjectionTime enum. Also move the UserStyleSheet::Level enum to be inside UserStyleSheetTypes for consistency. * WebCore.exp.in: * dom/Document.cpp: (WebCore::Document::pageGroupUserSheets): * page/PageGroup.cpp: (WebCore::PageGroup::addUserStyleSheetToWorld): * page/PageGroup.h: * page/UserStyleSheet.h: (WebCore::UserStyleSheet::UserStyleSheet): (WebCore::UserStyleSheet::level): * page/UserStyleSheetTypes.h: 2010-09-22 Mihai Parparita <mihaip@chromium.org> Reviewed by Darin Fisher. [Chromium] User style layout tests don't pass on Chromium https://bugs.webkit.org/show_bug.cgi?id=46069 Expose UserStyleInjectionTime in WebView. * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebView::addUserStyleSheet): 2010-09-22 Mihai Parparita <mihaip@chromium.org> Reviewed by Darin Fisher. [Chromium] User style layout tests don't pass on Chromium https://bugs.webkit.org/show_bug.cgi?id=46069 Fix a typo in LayoutTestController::addUserStyleSheet that was causing a crash the Chromium DRT. Pass InjectInExistingDocuments to mimic DRT behavior from other ports. * DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::addUserStyleSheet): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c419780b