Port bugs.webkit.org to mod_perl for new hardware.

Reviewed by David Kilzer.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Added/updated missing fast/table results after rebaseline
https://bugs.webkit.org/show_bug.cgi?id=91621

Patch by Bruno de Oliveira Abinader <bruno.abinader@basyskom.com> on 2012-07-20
Reviewed by Noam Rosenthal.

The following tests were failing after r122985:
  fast/table/003.html = TEXT
  fast/table/colspanMinWidth.html = TEXT
  fast/table/spanOverlapRepaint.html = TEXT
  fast/table/text-field-baseline.html = TEXT

This patch includes/updates the missing expectations.

* platform/qt-5.0-wk2/fast/table/003-expected.png:
* platform/qt-5.0-wk2/fast/table/003-expected.txt:
* platform/qt-5.0-wk2/fast/table/colspanMinWidth-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/colspanMinWidth-expected.txt: Added.
* platform/qt-5.0-wk2/fast/table/spanOverlapRepaint-expected.txt: Added.
* platform/qt-5.0-wk2/fast/table/text-field-baseline-expected.png: Added.
* platform/qt-5.0-wk2/fast/table/text-field-baseline-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123229 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix missing css1/text_properties/text_transform.html results (txt)
https://bugs.webkit.org/show_bug.cgi?id=91875

Expected txt result was added.

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-20
Reviewed by Noam Rosenthal.

* platform/qt/css1/text_properties/text_transform-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Baseline align text in the flakiness dashboard toolbar
https://bugs.webkit.org/show_bug.cgi?id=91784

Reviewed by Ojan Vafai.

Baseline align the flex items.

* TestResultServer/static-dashboards/flakiness_dashboard.css:
(.forms): Add box-align: baseline
(.forms > *): Use block display to force flex items rather than box.
(#tests-form): Add box-align: baseline
(#tests-form > *): Use block display to force flex items rather than box.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CodeGeneratorInspector.py is unnecessarily chatty
https://bugs.webkit.org/show_bug.cgi?id=91758

Reviewed by Vsevolod Vlasov.

The code aded in r123091 included a "print" statement for each written
file. This makes for noisy build output, especially noticeable in the
Chromium ninja build (where build output takes up a single line of the
console).

If this print statement is generally useful, it should be
hidden behind a --verbose commandline option, as we do for the binding
generators.

* inspector/CodeGeneratorInspector.py:
(SmartOutput.close): Remove print statement.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening.

Generating baselines for two input placeholder tests that fail. The image
baselines used are from Chromium Linux that clearly denote what's missing
in the GTK port's output for these two tests, ignoring other marginal
rendering differences.

* platform/gtk/TestExpectations:
* platform/gtk/fast/forms/input-placeholder-paint-order-expected.png: Added.
* platform/gtk/fast/forms/input-placeholder-paint-order-expected.txt: Added.
* platform/gtk/fast/forms/textarea: Added.
* platform/gtk/fast/forms/textarea/textarea-placeholder-paint-order-expected.png: Added.
* platform/gtk/fast/forms/textarea/textarea-placeholder-paint-order-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Make WTR use the same color palette as DRT
https://bugs.webkit.org/show_bug.cgi?id=91870

Reviewed by Noam Rosenthal.

Make sure that WebKitTestRunner and DumpRenderTree use the same palette: the
standard from QWindowsStyle.

* WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
(WTR::activateFonts): Moved code to platformInitialize since setting style is not
exactly font related.
* WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp:
(WTR::InjectedBundle::platformInitialize): Force the usage of the style's
palette.  Because at this point QApplication was already instantiated, the
default palette was already initialized to be the system one, so we need to
explicitly set the palette to be the standard from style. This is not needed in
DRT because there we set the style before instantiating QApplication.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123237 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Unreviewed test expectations update.
Un-marking various tests as flaky on WIN following rollback of r121610
in http://trac.webkit.org/changeset/123110. Investigation documented in:
https://bugs.webkit.org/show_bug.cgi?id=90469

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123238 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix more -Wunused-private-field violations
https://bugs.webkit.org/show_bug.cgi?id=91876

Reviewed by Adam Barth.

As of http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120716/061102.html
the warning finds more bugs. Fix them.

* html/FTPDirectoryDocument.cpp:
(FTPDirectoryDocumentParser):
(WebCore::FTPDirectoryDocumentParser::FTPDirectoryDocumentParser):
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
* html/parser/HTMLTreeBuilder.h:
(HTMLTreeBuilder):
* html/shadow/MediaControlRootElementChromium.cpp:
(WebCore::MediaControlRootElementChromium::MediaControlRootElementChromium):
* html/shadow/MediaControlRootElementChromium.h:
(MediaControlRootElementChromium):
* inspector/InspectorDOMStorageResource.cpp:
(WebCore::InspectorDOMStorageResource::InspectorDOMStorageResource):
* inspector/InspectorDOMStorageResource.h:
(InspectorDOMStorageResource):
* page/Settings.cpp:
(WebCore::Settings::Settings):
* page/Settings.h:
(Settings):
* platform/graphics/chromium/cc/CCThreadProxy.cpp:
(WebCore::CCThreadProxy::CCThreadProxy):
* platform/graphics/chromium/cc/CCThreadProxy.h:
(CCThreadProxy):
* rendering/svg/RenderSVGTextPath.cpp:
(WebCore::RenderSVGTextPath::RenderSVGTextPath):
* rendering/svg/RenderSVGTextPath.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Don't include WebCore headers in TestInterfaces so it's safe to include from outside of WebCore
https://bugs.webkit.org/show_bug.cgi?id=91847

Reviewed by Adam Barth.

This allows for including the TestIntefaces.h from content shell
without introducing a dependency to WebCore/wtf

* DumpRenderTree/chromium/TestRunner/TestInterfaces.cpp:
(TestInterfaces::Internal):
(TestInterfaces::Internal::Internal):
(TestInterfaces::Internal::~Internal):
(TestInterfaces::Internal::bindTo):
(TestInterfaces::Internal::resetAll):
(TestInterfaces::TestInterfaces):
(TestInterfaces::~TestInterfaces):
(TestInterfaces::bindTo):
(TestInterfaces::resetAll):
* DumpRenderTree/chromium/TestRunner/TestInterfaces.h:
(TestInterfaces):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Add WebView::zoomToFindInPageRect for Android
https://bugs.webkit.org/show_bug.cgi?id=91801

Reviewed by Tony Chang.

On Android, when you find in page, we scale the viewport to reveal what
you've found (because the screen is small). This function instructs the
WebView to zoom to display a given rect.

* public/WebView.h:
(WebView):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::animateZoomAroundPoint):
    - This function is a bit more general than necessary for this patch
      because it is also used in other cases for animating a zoom
      around a given point (e.g., double-tap to zoom). These uses will
      be upstreamed in later patches.
(WebKit::WebViewImpl::zoomToFindInPageRect):
* src/WebViewImpl.h:
(WebViewImpl):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
SVG Filter Effect sub-region not applied for some filters
https://bugs.webkit.org/show_bug.cgi?id=89767

Reviewed by Dirk Schulze.

Unreviewed test expectations update.

Numerous results changed by one pixel due to the difference between
clipping and pre-applying the filter subregion. Some feGaussianBlur
and feDropShadow results changed more, but that was expected.

* platform/chromium-linux-x86/svg/batik/filters: Removed.
* platform/chromium-linux-x86/svg/filters/shadow-on-filter-expected.png:
* platform/chromium-linux-x86/svg/filters/shadow-on-rect-with-filter-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
* platform/chromium-linux/svg/batik/filters/feTile-expected.png:
* platform/chromium-linux/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-linux/svg/batik/text/smallFonts-expected.png:
* platform/chromium-linux/svg/batik/text/textFeatures-expected.png:
* platform/chromium-linux/svg/custom/feComponentTransfer-Discrete-expected.png:
* platform/chromium-linux/svg/custom/feComponentTransfer-Gamma-expected.png:
* platform/chromium-linux/svg/custom/feComponentTransfer-Linear-expected.png:
* platform/chromium-linux/svg/custom/feComponentTransfer-Table-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.png:
* platform/chromium-linux/svg/filters/feDropShadow-expected.png:
* platform/chromium-linux/svg/filters/filter-on-tspan-expected.png:
* platform/chromium-linux/svg/filters/filterRes-expected.png:
* platform/chromium-linux/svg/filters/shadow-on-filter-expected.png:
* platform/chromium-linux/svg/filters/shadow-on-rect-with-filter-expected.png:
* platform/chromium-linux/svg/filters/subRegion-one-effect-expected.png:
* platform/chromium-linux/svg/filters/subRegion-two-effects-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/filters/feTile-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/text/smallFonts-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/text/textFeatures-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/feComponentTransfer-Discrete-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/feComponentTransfer-Gamma-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/feComponentTransfer-Linear-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/feComponentTransfer-Table-expected.png:
* platform/chromium-mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.png:
* platform/chromium-mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.png:
* platform/chromium-mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.png:
* platform/chromium-mac-snowleopard/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.png:
* platform/chromium-mac-snowleopard/svg/filters/shadow-on-filter-expected.png:
* platform/chromium-mac-snowleopard/svg/filters/shadow-on-rect-with-filter-expected.png:
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
* platform/chromium-mac/svg/batik/filters/feTile-expected.png:
* platform/chromium-mac/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-mac/svg/batik/text/smallFonts-expected.png:
* platform/chromium-mac/svg/batik/text/textFeatures-expected.png:
* platform/chromium-mac/svg/custom/feComponentTransfer-Discrete-expected.png:
* platform/chromium-mac/svg/custom/feComponentTransfer-Gamma-expected.png:
* platform/chromium-mac/svg/custom/feComponentTransfer-Linear-expected.png:
* platform/chromium-mac/svg/custom/feComponentTransfer-Table-expected.png:
* platform/chromium-mac/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.png:
* platform/chromium-mac/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.png:
* platform/chromium-mac/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.png:
* platform/chromium-mac/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.png:
* platform/chromium-mac/svg/filters/feDropShadow-expected.png:
* platform/chromium-mac/svg/filters/feDropShadow-subregion-expected.png: Added.
* platform/chromium-mac/svg/filters/feGaussianBlur-expected.png:
* platform/chromium-mac/svg/filters/feGaussianBlur-subregion-expected.png: Added.
* platform/chromium-mac/svg/filters/feImage-subregions-expected.png:
* platform/chromium-mac/svg/filters/feImage-subregions-preseveAspectRatio-none-expected.png:
* platform/chromium-mac/svg/filters/feImage-subregions-preseveAspectRatio-none-with-viewBox-expected.png:
* platform/chromium-mac/svg/filters/feOffset-expected.png:
* platform/chromium-mac/svg/filters/feTile-expected.png:
* platform/chromium-mac/svg/filters/filter-placement-issue-expected.png:
* platform/chromium-mac/svg/filters/filter-rounding-issues-expected.png:
* platform/chromium-mac/svg/filters/filterRes-expected.png:
* platform/chromium-mac/svg/filters/filterRes1-expected.png:
* platform/chromium-mac/svg/filters/filterRes3-expected.png:
* platform/chromium-mac/svg/filters/parent-children-with-same-filter-expected.png:
* platform/chromium-mac/svg/filters/shadow-on-filter-expected.png:
* platform/chromium-mac/svg/filters/shadow-on-rect-with-filter-expected.png:
* platform/chromium-mac/svg/filters/subRegion-one-effect-expected.png:
* platform/chromium-mac/svg/filters/subRegion-two-effects-expected.png:
* platform/chromium-win-xp/svg/filters/shadow-on-filter-expected.png:
* platform/chromium-win-xp/svg/filters/shadow-on-rect-with-filter-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
* platform/chromium-win/svg/batik/filters/feTile-expected.png:
* platform/chromium-win/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-win/svg/batik/text/smallFonts-expected.png:
* platform/chromium-win/svg/batik/text/textFeatures-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Discrete-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Gamma-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Linear-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Table-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.png:
* platform/chromium-win/svg/filters/feDropShadow-expected.png:
* platform/chromium-win/svg/filters/feDropShadow-subregion-expected.png: Added.
* platform/chromium-win/svg/filters/feGaussianBlur-expected.png:
* platform/chromium-win/svg/filters/feGaussianBlur-subregion-expected.png: Added.
* platform/chromium-win/svg/filters/feImage-subregions-expected.png:
* platform/chromium-win/svg/filters/feImage-subregions-preseveAspectRatio-none-expected.png:
* platform/chromium-win/svg/filters/feImage-subregions-preseveAspectRatio-none-with-viewBox-expected.png:
* platform/chromium-win/svg/filters/feOffset-expected.png:
* platform/chromium-win/svg/filters/feTile-expected.png:
* platform/chromium-win/svg/filters/filter-on-tspan-expected.png:
* platform/chromium-win/svg/filters/filter-placement-issue-expected.png:
* platform/chromium-win/svg/filters/filter-rounding-issues-expected.png:
* platform/chromium-win/svg/filters/filterRes-expected.png:
* platform/chromium-win/svg/filters/filterRes1-expected.png:
* platform/chromium-win/svg/filters/filterRes3-expected.png:
* platform/chromium-win/svg/filters/parent-children-with-same-filter-expected.png:
* platform/chromium-win/svg/filters/shadow-on-filter-expected.png:
* platform/chromium-win/svg/filters/shadow-on-rect-with-filter-expected.png:
* platform/chromium-win/svg/filters/subRegion-one-effect-expected.png:
* platform/chromium-win/svg/filters/subRegion-two-effects-expected.png:
* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r122873): 15% regression on Dromaeo/dom-attr
https://bugs.webkit.org/show_bug.cgi?id=91827

Reviewed by Anders Carlsson.

Move shouldInvalidateNodeListCaches from Document.cpp to Node.cpp since it's only called
in Node::invalidateNodeListCachesInAncestors.

Test: PerformanceTests/Dromaeo/dom-attr.html.

* dom/Document.cpp:
(WebCore):
* dom/Node.cpp:
(WebCore::shouldInvalidateNodeListCachesForAttr): Extracted from shouldInvalidateNodeListCaches
to unroll the loop in shouldInvalidateNodeListCaches. Apparently gcc wasn't doing the right thing.
(WebCore::Document::shouldInvalidateNodeListCaches):
(WebCore::Document::invalidateNodeListCaches):
(WebCore::Node::invalidateNodeListCachesInAncestors):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123243 268f45cc-cd09-0410-ab3c-d52691b4dbfc