Simplify some code in RenderBox::computePercentageLogicalHeight
https://bugs.webkit.org/show_bug.cgi?id=96704

Reviewed by Tony Chang.

This is strictly code cleanup. No behavior change.
Also removed some comments that were what comments and/or were
getting stale.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::skipContainingBlockForPercentHeightCalculation):
(WebCore):
(WebCore::RenderBox::computePercentageLogicalHeight):
* rendering/RenderBox.h:
(RenderBox):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Complete some forgotten rebaselines. See https://bugs.webkit.org/show_bug.cgi?id=94916.
All the differences were anti-aliasing/form-controls.

* platform/chromium-linux/fast/forms/datalist/input-appearance-range-with-datalist-zoomed-expected.png:
* platform/chromium-linux/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png: Added.
* platform/chromium-linux/fast/forms/datalist/input-appearance-range-with-transform-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/forms/datalist/input-appearance-range-with-transform-expected.png: Added.
* platform/chromium-win-xp/fast/forms/datalist/input-appearance-range-with-datalist-zoomed-expected.png: Removed.
* platform/chromium-win/fast/forms/datalist/input-appearance-range-with-datalist-zoomed-expected.png:
* platform/chromium-win/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png: Added.
* platform/chromium-win/fast/forms/datalist/input-appearance-range-with-transform-expected.png: Added.
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Complete forgotten rebaseline. See https://bugs.webkit.org/show_bug.cgi?id=96751.
The results all look like they pass.

* platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-localization-expected.txt: Copied from LayoutTests/platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-localization-expected.txt.
* platform/chromium-win-xp/fast/forms/time-multiple-fields/time-multiple-fields-localization-expected.txt: Copied from LayoutTests/platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-localization-expected.txt.
* platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-localization-expected.txt: Copied from LayoutTests/platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-localization-expected.txt.
* platform/chromium/TestExpectations:
* platform/chromium/fast/forms/time-multiple-fields/time-multiple-fields-localization-expected.txt: Renamed from LayoutTests/platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-localization-expected.txt.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] RefPtr<Evas_Object> unit tests fails
https://bugs.webkit.org/show_bug.cgi?id=96809

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-09-14
Reviewed by Kenneth Rohde Christiansen.

Added missing return.

* UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.h:
(EWK2UnitTest::EWK2UnitTestBase::canvas):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        REGRESSION(r126717): It made inspector/styles/media-queries.html fail/flakey
        https://bugs.webkit.org/show_bug.cgi?id=95070

        Roll out r126717, and another change that depends on it.
        r126717: Remove parent pointer from StyleSheetContents and StyleRuleImport
        r127123: Cache and share parsed imported stylesheets

        * css/CSSImportRule.cpp:
        * css/CSSImportRule.h:
        * css/CSSStyleSheet.cpp:
        (WebCore::CSSStyleSheet::willMutateRules):
        (WebCore::CSSStyleSheet::reattachChildRuleCSSOMWrappers):
        (WebCore::CSSStyleSheet::insertRule):
        (WebCore::CSSStyleSheet::ownerDocument):
        * css/CSSStyleSheet.h:
        (WebCore::CSSStyleSheet::clearOwnerRule):
        * css/StyleRuleImport.cpp:
        (WebCore::StyleRuleImport::StyleRuleImport):
        (WebCore::StyleRuleImport::~StyleRuleImport):
        (WebCore::StyleRuleImport::setCSSStyleSheet):
        (WebCore::StyleRuleImport::isLoading):
        (WebCore::StyleRuleImport::requestStyleSheet):
        * css/StyleRuleImport.h:
        (WebCore::StyleRuleImport::parentStyleSheet):
        (WebCore::StyleRuleImport::setParentStyleSheet):
        (WebCore::StyleRuleImport::clearParentStyleSheet):
        (ImportedStyleSheetClient):
        (WebCore::StyleRuleImport::ImportedStyleSheetClient::ImportedStyleSheetClient):
        (WebCore::StyleRuleImport::ImportedStyleSheetClient::~ImportedStyleSheetClient):
        (WebCore::StyleRuleImport::ImportedStyleSheetClient::setCSSStyleSheet):
        * css/StyleSheetContents.cpp:
        (WebCore::StyleSheetContents::StyleSheetContents):
        (WebCore::StyleSheetContents::isCacheable):
        (WebCore::StyleSheetContents::parserAppendRule):
        (WebCore::StyleSheetContents::clearRules):
        (WebCore::StyleSheetContents::wrapperInsertRule):
        (WebCore::StyleSheetContents::wrapperDeleteRule):
        (WebCore::StyleSheetContents::parseAuthorStyleSheet):
        (WebCore::StyleSheetContents::parseStringAtLine):
        (WebCore::StyleSheetContents::checkLoaded):
        (WebCore::StyleSheetContents::notifyLoadedSheet):
        (WebCore::StyleSheetContents::startLoadingDynamicSheet):
        (WebCore::StyleSheetContents::rootStyleSheet):
        (WebCore::StyleSheetContents::singleOwnerNode):
        (WebCore::StyleSheetContents::singleOwnerDocument):
        (WebCore::StyleSheetContents::parentStyleSheet):
        * css/StyleSheetContents.h:
        (WebCore::StyleSheetContents::create):
        (StyleSheetContents):
        (WebCore::StyleSheetContents::ownerRule):
        (WebCore::StyleSheetContents::clearOwnerRule):
        * dom/ProcessingInstruction.cpp:
        (WebCore::ProcessingInstruction::parseStyleSheet):
        * dom/StyleElement.cpp:
        (WebCore::StyleElement::createSheet):
        * html/HTMLLinkElement.cpp:
        (WebCore::HTMLLinkElement::setCSSStyleSheet):
        * loader/cache/CachedCSSStyleSheet.cpp:
        (WebCore::CachedCSSStyleSheet::saveParsedStyleSheet):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        [WK2] webarchive/loading/javascript-url-iframe-crash.html fails
        https://bugs.webkit.org/show_bug.cgi?id=96817

        Reviewed by Kenneth Rohde Christiansen.

        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
        (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame): This callback
        got overlooked when adding logging elsewhere.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update all the MISSING lines in chromium's TestExpectations.
If the test always passed, removed the line. In some cases, they just needed
obvious rebaselines. In others, they haven't reported MISSING in the past
500 runs on the bots, so removed that expectation.

* platform/chromium-linux-x86/fast/overflow/paged-x-div-with-column-gap-expected.txt: Added.
* platform/chromium-linux-x86/fast/overflow/paged-x-with-column-gap-expected.txt: Added.
* platform/chromium-linux/css3/masking/clip-path-circle-expected.png: Added.
* platform/chromium-linux/css3/masking/clip-path-circle-filter-expected.png: Added.
* platform/chromium-linux/css3/masking/clip-path-circle-overflow-expected.png: Added.
* platform/chromium-linux/css3/masking/clip-path-circle-overflow-hidden-expected.png: Added.
* platform/chromium-linux/css3/masking/clip-path-circle-relative-overflow-expected.png: Added.
* platform/chromium-linux/css3/masking/clip-path-ellipse-expected.png: Added.
* platform/chromium-linux/css3/masking/clip-path-polygon-evenodd-expected.png: Added.
* platform/chromium-linux/css3/masking/clip-path-polygon-expected.png: Added.
* platform/chromium-linux/css3/masking/clip-path-polygon-nonzero-expected.png: Added.
* platform/chromium-linux/css3/masking/clip-path-rectangle-expected.png: Added.
* platform/chromium-linux/fast/overflow/paged-x-div-with-column-gap-expected.png: Added.
* platform/chromium-linux/fast/overflow/paged-x-div-with-column-gap-expected.txt: Added.
* platform/chromium-linux/fast/overflow/paged-x-with-column-gap-expected.png: Added.
* platform/chromium-linux/fast/overflow/paged-x-with-column-gap-expected.txt: Added.
* platform/chromium-linux/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/frames/iframe-scaling-with-scroll-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/overflow/paged-x-div-with-column-gap-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/overflow/paged-x-with-column-gap-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table-expected.png: Added.
* platform/chromium-mac/css3/masking/clip-path-circle-expected.png: Added.
* platform/chromium-mac/css3/masking/clip-path-circle-filter-expected.png: Added.
* platform/chromium-mac/css3/masking/clip-path-circle-overflow-expected.png: Added.
* platform/chromium-mac/css3/masking/clip-path-circle-overflow-hidden-expected.png: Added.
* platform/chromium-mac/css3/masking/clip-path-circle-relative-overflow-expected.png: Added.
* platform/chromium-mac/css3/masking/clip-path-ellipse-expected.png: Added.
* platform/chromium-mac/css3/masking/clip-path-polygon-evenodd-expected.png: Added.
* platform/chromium-mac/css3/masking/clip-path-polygon-expected.png: Added.
* platform/chromium-mac/css3/masking/clip-path-polygon-nonzero-expected.png: Added.
* platform/chromium-mac/css3/masking/clip-path-rectangle-expected.png: Added.
* platform/chromium-mac/fast/frames/iframe-scaling-with-scroll-expected.png: Added.
* platform/chromium-mac/fast/overflow/paged-x-div-with-column-gap-expected.png: Added.
* platform/chromium-mac/fast/overflow/paged-x-with-column-gap-expected.png: Added.
* platform/chromium-win-xp/fast/overflow/paged-x-div-with-column-gap-expected.txt: Added.
* platform/chromium-win-xp/fast/overflow/paged-x-with-column-gap-expected.txt: Added.
* platform/chromium-win/css3/masking/clip-path-circle-expected.png: Added.
* platform/chromium-win/css3/masking/clip-path-circle-filter-expected.png: Added.
* platform/chromium-win/css3/masking/clip-path-circle-overflow-expected.png: Added.
* platform/chromium-win/css3/masking/clip-path-circle-overflow-hidden-expected.png: Added.
* platform/chromium-win/css3/masking/clip-path-circle-relative-overflow-expected.png: Added.
* platform/chromium-win/css3/masking/clip-path-ellipse-expected.png: Added.
* platform/chromium-win/css3/masking/clip-path-polygon-evenodd-expected.png: Added.
* platform/chromium-win/css3/masking/clip-path-polygon-expected.png: Added.
* platform/chromium-win/css3/masking/clip-path-polygon-nonzero-expected.png: Added.
* platform/chromium-win/css3/masking/clip-path-rectangle-expected.png: Added.
* platform/chromium-win/fast/frames/iframe-scaling-with-scroll-expected.png: Added.
* platform/chromium-win/fast/overflow/paged-x-div-with-column-gap-expected.png: Added.
* platform/chromium-win/fast/overflow/paged-x-div-with-column-gap-expected.txt: Added.
* platform/chromium-win/fast/overflow/paged-x-with-column-gap-expected.png: Added.
* platform/chromium-win/fast/overflow/paged-x-with-column-gap-expected.txt: Added.
* platform/chromium-win/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table-expected.png: Added.
* platform/chromium-win/fast/sub-pixel/selection/selection-rect-in-sub-pixel-table-expected.txt: Added.
* platform/chromium/TestExpectations:
* platform/chromium/perf/nested-combined-selectors-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Comment out bug URL. This fixes a lint warning.
* platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Shaders] Refactor FECustomFilter to make it usable from platform dependent implementations
https://bugs.webkit.org/show_bug.cgi?id=96801

Reviewed by Dean Jackson.

I've refactored the FECustomFilter to allow FECustomFilterSkia.cpp to use the rendering part
from outside.

Also removed the Texture class as it is not available on some platforms.

The changes for Skia will land in a different patch:
https://bugs.webkit.org/show_bug.cgi?id=96579

No new tests, the existing custom filters tests should already cover this.

* platform/graphics/filters/CustomFilterGlobalContext.cpp:
(WebCore::CustomFilterGlobalContext::prepareContextIfNeeded):
* platform/graphics/filters/FECustomFilter.cpp:
(WebCore::FECustomFilter::FECustomFilter):
(WebCore::FECustomFilter::deleteRenderBuffers):
(WebCore::FECustomFilter::drawFilterMesh):
(WebCore):
(WebCore::FECustomFilter::prepareForDrawing):
(WebCore::FECustomFilter::programNeedsInputTexture):
(WebCore::FECustomFilter::applyShader):
(WebCore::FECustomFilter::initializeContext):
(WebCore::FECustomFilter::ensureInputTexture):
(WebCore::FECustomFilter::uploadInputTexture):
(WebCore::FECustomFilter::ensureFrameBuffer):
(WebCore::FECustomFilter::resizeContextIfNeeded):
(WebCore::FECustomFilter::resizeContext):
(WebCore::FECustomFilter::bindProgramAndBuffers):
* platform/graphics/filters/FECustomFilter.h:
(FECustomFilter):

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