2010-10-08  Alexander Pavlov  <apavlov@chromium.org>

        Unreviewed, updating test expectations.

        Chromium Win crashes on fast/html/object-image-nested-fallback.html

        * platform/chromium/test_expectations.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Andras Becsi  <abecsi@webkit.org>

        Unreviewed build fix.

        [Qt] Add missing limits.h include since the Qt version currently
        ran on the bot does need that.

        * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Renata Hodovan  <reni@inf.u-szeged.hu>

        Reviewed by Andreas Kling.

        SVGFEColorMatrixElement doesn't support dynamic invalidation, when attributes change.
        https://bugs.webkit.org/show_bug.cgi?id=47342

        Adding layout tests for feColorMatrix dynamic changes.

        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.png: Added.
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.checksum: Added.
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.png: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr.html: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr.html: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.txt: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr.html: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.txt: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop.html: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.txt: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop.html: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.txt: Added.
        * svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop.html: Added.
        * svg/dynamic-updates/script-tests/SVGFEColorMatrixElement-dom-in-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEColorMatrixElement-dom-type-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEColorMatrixElement-dom-values-attr.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEColorMatrixElement-svgdom-in-prop.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEColorMatrixElement-svgdom-type-prop.js: Added.
        (executeTest):
        * svg/dynamic-updates/script-tests/SVGFEColorMatrixElement-svgdom-values-prop.js: Added.
        (SVGNumberListToString):
        (executeTest):
2010-10-08  Renata Hodovan  <reni@inf.u-szeged.hu>

        Reviewed by Andreas Kling.

        SVGFEColorMatrixElement doesn't support dynamic invalidation, when attributes change.
        https://bugs.webkit.org/show_bug.cgi?id=47342

        The dynamic changes are captured by the svgAttributeChange function, and invalidate the filter primitive if necessary.

        Tests: svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr.html
               svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr.html
               svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr.html
               svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop.html
               svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop.html
               svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop.html

        * svg/SVGFEColorMatrixElement.cpp:
        (WebCore::SVGFEColorMatrixElement::svgAttributeChanged):
        * svg/SVGFEColorMatrixElement.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69409 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Renata Hodovan  <reni@inf.u-szeged.hu>

        Reviewed by Nikolas Zimmermann.

        SVG Text assertion on SVGInlineTextBox.
        https://bugs.webkit.org/show_bug.cgi?id=41467

        Example: <text><tspan>S</tspan><tspan>O</tspan></text> The old SVG text engine fired an assertion,
        when the glyph 'O' isn't present in the <font>, but only if a <missing-glyph> element is included
        in the SVG <font>. <tspan>SO</tspan> didn't trigger that assertion. Adding a new layout test, to
        make sure we never see the assertion again.

        * svg/text/text-assert-expected.txt: Added.
        * svg/text/text-assert.svg: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Slider widgets looks bad on Mac
        https://bugs.webkit.org/show_bug.cgi?id=47421

        This patch change the rendering of the slider to only have the
        subcontrols that would be defined by default on a QSlider.

        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::paintSliderTrack):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Zhenyao Mo  <zmo@google.com>

        Unreviewed, update WebGL test expectations.

        * platform/chromium/drt_expectations.txt:
        * platform/chromium/test_expectations.txt:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        gradient stroke on lines does not work
        https://bugs.webkit.org/show_bug.cgi?id=40985

        Correct handling of invalid fill/stroke paint servers / colors according to SVG 1.1 2nd Edition.
        Perfectly matches Opera, and now lets us pass three of the new tests.

        Fix incorrect svg/custom/invalid-fill* tests:
        -> If there's an invalid fill URI, but no fallback specified, it is as if fill="black" was specified. (invalid-fill.svg)
        -> If there's an invalid fill color, but no fallback specified, it is as if fill="none" was specified. (invalid-fill-hex.svg)

        Needed to refactor some of the gradient/pattern code to properly handle fallback paint servers.
        As side effect, we're allowing gradients with gradientUnits="userSpaceOnUse" to apply on 1d objects (lines) again, per SVG 1.1 2nd edition.

        Tests: svg/W3C-SVG-1.1-SE/pservers-pattern-03-f.svg
               svg/W3C-SVG-1.1-SE/pservers-grad-17-b.svg
               svg/W3C-SVG-1.1-SE/pservers-grad-20-b.svg

        * rendering/RenderSVGResource.cpp: Rewrite fill/stroke paint resource requests, share all code between the similar functions.
        (WebCore::requestPaintingResource):
        (WebCore::RenderSVGResource::fillPaintingResource):
        (WebCore::RenderSVGResource::strokePaintingResource):
        * rendering/RenderSVGResource.h:
        * rendering/RenderSVGResourceGradient.cpp: Split collecting gradient properties from building the gradient. We don't need to build it, if it's not applyable (eg. on 1d lines).
        (WebCore::RenderSVGResourceGradient::RenderSVGResourceGradient):
        (WebCore::RenderSVGResourceGradient::removeAllClientsFromCache):
        (WebCore::clipToTextMask):
        (WebCore::RenderSVGResourceGradient::applyResource):
        * rendering/RenderSVGResourceGradient.h: Stop storing boundingBoxMode & gradientTransform in each GradientData object, it's enough to just store it in the gradient resource, once.
        * rendering/RenderSVGResourceLinearGradient.cpp:
        (WebCore::RenderSVGResourceLinearGradient::collectGradientAttributes): Splitted from buildGradient.
        (WebCore::RenderSVGResourceLinearGradient::buildGradient):
        * rendering/RenderSVGResourceLinearGradient.h:
        (WebCore::RenderSVGResourceLinearGradient::boundingBoxMode): Return bounding box mode information, from m_attributes instead of storing in gradientData.
        (WebCore::RenderSVGResourceLinearGradient::calculateGradientTransform): Ditto.
        * rendering/RenderSVGResourcePattern.cpp: Split collecting pattern properties from building the pattern. We don't need to build it, if it's not applyable (eg. on 1d lines).
        (WebCore::RenderSVGResourcePattern::RenderSVGResourcePattern):
        (WebCore::RenderSVGResourcePattern::removeAllClientsFromCache):
        (WebCore::RenderSVGResourcePattern::applyResource):
        (WebCore::RenderSVGResourcePattern::buildTileImageTransform):
        * rendering/RenderSVGResourcePattern.h:
        * rendering/RenderSVGResourceRadialGradient.cpp:
        (WebCore::RenderSVGResourceRadialGradient::collectGradientAttributes):
        (WebCore::RenderSVGResourceRadialGradient::buildGradient):
        * rendering/RenderSVGResourceRadialGradient.h:
        (WebCore::RenderSVGResourceRadialGradient::boundingBoxMode):
        (WebCore::RenderSVGResourceRadialGradient::calculateGradientTransform):
        * rendering/SVGRenderTreeAsText.cpp: Adapt to change, that fill/strokePaintingResource now take a Color& fallbackColor parameter.
        (WebCore::writeStyle):
        (WebCore::writeSVGResourceContainer):
        * rendering/svg/RenderSVGPath.cpp: 
        (WebCore::RenderSVGPath::fillContains): Ditto.
        (WebCore::RenderSVGPath::strokeContains): Ditto.
        (WebCore::RenderSVGPath::fillAndStrokePath): Properly handle fallback color, if an existing (!) paint server failed to apply.
        * rendering/svg/SVGInlineTextBox.cpp:
        (WebCore::SVGInlineTextBox::acquirePaintingResource): Ditto.
        * svg/SVGLinearGradientElement.cpp:
        (WebCore::SVGLinearGradientElement::collectGradientAttributes): Pass LinearGradientAttributes by reference, instead of returning a copy.
        * svg/SVGLinearGradientElement.h: Rename collectGradientProperties to collectGradientAttributes.
        * svg/SVGPatternElement.cpp:
        (WebCore::SVGPatternElement::collectPatternAttributes): Pass PatternAttributes by reference, instead of returning.
        * svg/SVGPatternElement.h: Rename collectPatternProperties to collectPatternAttributes.
        * svg/SVGRadialGradientElement.cpp:
        (WebCore::SVGRadialGradientElement::collectGradientAttributes): Pass RadialGradientAttributes by reference, instead of returning a copy.
        * svg/SVGRadialGradientElement.h: Rename collectGradientProperties to collectGradientAttributes.

2010-10-08  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        gradient stroke on lines does not work
        https://bugs.webkit.org/show_bug.cgi?id=40985

        * platform/mac-leopard/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.png:
        * platform/mac-leopard/svg/custom/dominant-baseline-hanging-expected.checksum:
        * platform/mac-leopard/svg/custom/dominant-baseline-hanging-expected.png:
        * platform/mac-leopard/svg/custom/invalid-fill-expected.checksum:
        * platform/mac-leopard/svg/custom/invalid-fill-expected.png:
        * platform/mac-leopard/svg/custom/invalid-fill-hex-expected.checksum:
        * platform/mac-leopard/svg/custom/invalid-fill-hex-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.txt:
        * platform/mac/svg/custom/dominant-baseline-hanging-expected.txt:
        * platform/mac/svg/custom/gradient-with-1d-boundingbox-expected.checksum:
        * platform/mac/svg/custom/gradient-with-1d-boundingbox-expected.png:
        * platform/mac/svg/custom/invalid-fill-expected.txt:
        * platform/mac/svg/custom/invalid-fill-hex-expected.txt:
        * svg/W3C-SVG-1.1-SE: Added.
        * svg/W3C-SVG-1.1-SE/pservers-grad-17-b.svg: Added.
        * svg/W3C-SVG-1.1-SE/pservers-grad-20-b.svg: Added.
        * svg/W3C-SVG-1.1-SE/pservers-pattern-03-f.svg: Added.
        * svg/custom/gradient-with-1d-boundingbox-expected.txt:
        * svg/custom/gradient-with-1d-boundingbox.svg: Add new test covering gradientUnits="userSpaceOnUse" on 1d lines, which is explicitely allowed.
        * svg/custom/invalid-fill-hex.svg: Fix invalid test, fill="none", is the default if the given fill color is invalid, according to SVG 1.1 2nd Edition.
        * svg/custom/invalid-fill.svg: Update test comments, that we match Opera in both tests, and the new SVG 1.1 2nd Edition specification.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69413 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Chris Evans  <cevans@google.com>

        Reviewed by David Levin.

        https://bugs.webkit.org/show_bug.cgi?id=47393

        Use unsigned consistently to check for max StringImpl length.
        Add a few integer overflow checks.
        Uses the existing paradigm of CRASH() when we can't reasonably handle a crazily large request.

        * wtf/text/WTFString.cpp:
        * wtf/text/StringImpl.h:
        * wtf/text/StringImpl.cpp:
        Better use of size_t vs. unsigned; check for integer overflows.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add Private API for creating a WebKit1 WebSerializedJSValue from the internal
representation of a WebKit2 WebSerializedScriptValue.
https://bugs.webkit.org/show_bug.cgi?id=47390

Reviewed by Sam Weinig.

WebKit: 

* WebKit.xcodeproj/project.pbxproj:
Add WebSerializedJSValuePrivate.h.

WebKit/mac: 

* WebView/WebSerializedJSValue.mm:
(-[WebSerializedJSValue initWithInternalRepresentation:]):
Set the WebSerializedJSValuePrivate's WebCore::SerializedScriptValue to be the passed in
internal representation.
* WebView/WebSerializedJSValuePrivate.h: Added.

WebKit/win: 

* Interfaces/WebKit.idl:
Generate IWebSerializedJSValuePrivate.
        
* Interfaces/IWebSerializedJSValuePrivate.idl: Added.
Because it is taking a void* parameter, setInternalRepresentation must be declared [local].

* WebKit.vcproj/Interfaces.vcproj:
Add IWebSerializedJSValue.idl and IWebSerializedJSValuePrivate.idl.

* WebSerializedJSValue.cpp:
(WebSerializedJSValue::QueryInterface):
Since there are now two interfaces that inherit from IUnknown, do not try to cast to
IUnknown* anymore. Cast to IWebSerializedJSValue* instead.
(WebSerializedJSValue::setInternalRepresentation):
Only set the internal representation if it hasn't already been set.
* WebSerializedJSValue.h:

WebKit2: 

* Shared/API/c/WKSerializedScriptValue.cpp:
(WKSerializedScriptValueGetInternalRepresentation):
* Shared/API/c/WKSerializedScriptValuePrivate.h: Added.

* Shared/WebSerializedScriptValue.h:
(WebKit::WebSerializedScriptValue::internalRepresentation):
Return the WebCore::SerializedScriptValue as a void* so that it can be passed through the
API.

* WebKit2.xcodeproj/project.pbxproj:
Add WKSerializedScriptValuePrivate.h.
* win/WebKit2.vcproj:
Ditto, also some sorting.

* win/WebKit2Generated.make:
Copy over WKSerializedScriptValuePrivate.h.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        SVG feImage needs absolute subregion for preserveAspectRatio
        https://bugs.webkit.org/show_bug.cgi?id=47409

        PreserverAspectRatio needs the subregion in absolute coordinates to determine
        the destination position and size of the input image. The maxEffectRect() already
        stores the absolute subregion, but clipped to the filter region.

        Test: svg/W3C-SVG-1.1se/filters-image-03-f.svg

        * platform/graphics/filters/FETile.cpp:
        (WebCore::FETile::apply):
        * platform/graphics/filters/FilterEffect.h: Added enum to differentate sourece inputs, feTile and feImage.
        (WebCore::FilterEffect::filterEffectType):
        * platform/graphics/filters/SourceAlpha.h: Make use of the new enum in FilterEffect
        (WebCore::SourceAlpha::filterEffectType):
        * platform/graphics/filters/SourceGraphic.h: Ditto.
        (WebCore::SourceGraphic::filterEffectType):
        * svg/graphics/filters/SVGFEImage.cpp: Take the absolute subregion to determine the destination rect for input image.
        (WebCore::FEImage::apply):
        * svg/graphics/filters/SVGFEImage.h: Ditto.
        (WebCore::FEImage::setAbsoluteSubregion):
        (WebCore::FEImage::filterEffectType):
        * svg/graphics/filters/SVGFilter.cpp: Give over subregion in absolute coordinates to feImage. Just feImage makes use of it.
        (WebCore::SVGFilter::determineFilterPrimitiveSubregion):
2010-10-08  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        SVG feImage needs absolute subregion for preserveAspectRatio
        https://bugs.webkit.org/show_bug.cgi?id=47409

        Adapted test form the new SVG 1.1 se test suite to check the correct behavior of feImage.
        The subregion in absolute coordinates is a FloatRect instead of an IntRect. This
        sharpens the result of svg/webarchive/svg-feimage-subresources.

        * platform/mac/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt: Added.
        * platform/mac/svg/webarchive/svg-feimage-subresources-expected.checksum:
        * platform/mac/svg/webarchive/svg-feimage-subresources-expected.png:
        * svg/W3C-SVG-1.1-SE/filters-image-03-f.svg: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Unreviewed. Text expectation changes caused by r69386.

944 text expectations need to be rebaselined because r69386 changed
the output formatting for the render tree dump.

This CL does not update any image files since those should not have
been affected.  The Changelog filelist has been shortened to only give
the name of directory with changes along with a count of the number of
files changes because listing every file is too long to be useful.

* LayoutTests/platform/chromium-linux/fast/repaint/: 2 changed.
* LayoutTests/platform/chromium-linux/svg/W3C-SVG-1.1/: 246 changed.
* LayoutTests/platform/chromium-linux/svg/batik/paints/: 2 changed.
* LayoutTests/platform/chromium-linux/svg/batik/text/: 16 changed.
* LayoutTests/platform/chromium-linux/svg/carto.net/: 3 changed.
* LayoutTests/platform/chromium-linux/svg/clip-path/: 4 changed.
* LayoutTests/platform/chromium-linux/svg/css/: 5 changed.
* LayoutTests/platform/chromium-linux/svg/custom/: 39 changed.
* LayoutTests/platform/chromium-linux/svg/hixie/error/: 1 changed.
* LayoutTests/platform/chromium-linux/svg/hixie/perf/: 7 changed.
* LayoutTests/platform/chromium-linux/svg/hixie/viewbox/preserveAspectRatio/: 2 changed.
* LayoutTests/platform/chromium-linux/svg/text/: 53 changed.
* LayoutTests/platform/chromium-linux/svg/transforms/: 2 changed.
* LayoutTests/platform/chromium-linux/svg/zoom/page/: 1 changed.
* LayoutTests/platform/chromium-linux/svg/zoom/text/: 1 changed.
* LayoutTests/platform/chromium-mac/fast/repaint/: 2 changed.
* LayoutTests/platform/chromium-mac/svg/W3C-SVG-1.1/: 2 changed.
* LayoutTests/platform/chromium-mac/svg/css/: 3 changed.
* LayoutTests/platform/chromium-mac/svg/custom/: 2 changed.
* LayoutTests/platform/chromium-win-xp/svg/custom/: 1 changed.
* LayoutTests/platform/chromium-win-xp/svg/text/: 1 changed.
* LayoutTests/platform/chromium-win/fast/repaint/: 2 changed.
* LayoutTests/platform/chromium-win/http/tests/misc/: 1 changed.
* LayoutTests/platform/chromium-win/svg/W3C-SVG-1.1/: 262 changed.
* LayoutTests/platform/chromium-win/svg/batik/filters/: 2 changed.
* LayoutTests/platform/chromium-win/svg/batik/masking/: 1 changed.
* LayoutTests/platform/chromium-win/svg/batik/paints/: 4 changed.
* LayoutTests/platform/chromium-win/svg/batik/text/: 16 changed.
* LayoutTests/platform/chromium-win/svg/carto.net/: 5 changed.
* LayoutTests/platform/chromium-win/svg/clip-path/: 4 changed.
* LayoutTests/platform/chromium-win/svg/css/: 7 changed.
* LayoutTests/platform/chromium-win/svg/custom/: 135 changed.
* LayoutTests/platform/chromium-win/svg/filters/: 3 changed.
* LayoutTests/platform/chromium-win/svg/foreignObject/: 3 changed.
* LayoutTests/platform/chromium-win/svg/hixie/data-types/: 1 changed.
* LayoutTests/platform/chromium-win/svg/hixie/error/: 4 changed.
* LayoutTests/platform/chromium-win/svg/hixie/links/: 1 changed.
* LayoutTests/platform/chromium-win/svg/hixie/mixed/: 8 changed.
* LayoutTests/platform/chromium-win/svg/hixie/perf/: 7 changed.
* LayoutTests/platform/chromium-win/svg/hixie/rendering-model/: 2 changed.
* LayoutTests/platform/chromium-win/svg/hixie/shapes/path/: 1 changed.
* LayoutTests/platform/chromium-win/svg/hixie/viewbox/: 2 changed.
* LayoutTests/platform/chromium-win/svg/hixie/viewbox/preserveAspectRatio/: 2 changed.
* LayoutTests/platform/chromium-win/svg/in-html/: 1 changed.
* LayoutTests/platform/chromium-win/svg/overflow/: 5 changed.
* LayoutTests/platform/chromium-win/svg/text/: 54 changed.
* LayoutTests/platform/chromium-win/svg/transforms/: 2 changed.
* LayoutTests/platform/chromium-win/svg/zoom/page/: 7 changed.
* LayoutTests/platform/chromium-win/svg/zoom/text/: 6 changed.
* LayoutTests/platform/chromium-win/transforms/: 1 changed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  James Kozianski  <koz@chromium.org>

        Reviewed by Simon Fraser.

        Crash on reload when CSS property 'content' has malformed URL.
        https://bugs.webkit.org/show_bug.cgi?id=47322

        Tests that we don't crash when navigating away from a page with a
        malformed URL as the value of a "content" CSS property.

        * fast/css-generated-content/malformed-url-expected.txt: Added.
        * fast/css-generated-content/malformed-url.html: Added.
        * fast/css-generated-content/resources/pass.html: Added.
2010-10-08  James Kozianski  <koz@chromium.org>

        Reviewed by Simon Fraser.

        Crash on reload when CSS property 'content' has malformed URL.
        https://bugs.webkit.org/show_bug.cgi?id=47322

        Make CSSStyleSelector handle the case where a cached image can't be
        produced due to a malformed URL.

        Test: fast/css-generated-content/malformed-url.html

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::loadPendingImages):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69418 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Unreviewed. Build fix.

Trying to bring the bots green after r69386.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Output X-Purpose header for prefetch requests
        https://bugs.webkit.org/show_bug.cgi?id=46529

        * http/tests/misc/prefetch-purpose-expected.txt: Added.
        * http/tests/misc/prefetch-purpose.html: Added.
        * http/tests/misc/resources/prefetch-purpose.php: Added.
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:
2010-10-08  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Output X-Purpose header for prefetch requests
        https://bugs.webkit.org/show_bug.cgi?id=46529

        Test: http/tests/misc/prefetch-purpose.html

        * loader/loader.cpp:
        (WebCore::Loader::Host::servePendingRequests):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IndexedDB does not have a quota mechanism.
        https://bugs.webkit.org/show_bug.cgi?id=47389

        * storage/indexeddb/database-quota-expected.txt: Added.
        * storage/indexeddb/database-quota.html: Added.
2010-10-08  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IndexedDB does not have a quota mechanism.
        https://bugs.webkit.org/show_bug.cgi?id=47389

        Test: storage/indexeddb/database-quota.html

        Add a simple mechanism for enforcing a maximum size
        for each origin using IndexedDB. Note that this depends
        on having one SQLite database file per origin, which is
        addressed in a separate patch.

        * page/GroupSettings.cpp:
        (WebCore::GroupSettings::GroupSettings):
        (WebCore::GroupSettings::setIndexedDBQuotaBytes):
        * page/GroupSettings.h:
        (WebCore::GroupSettings::indexedDBQuotaBytes):
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::createObjectStore):
        (WebCore::IDBDatabaseBackendImpl::createObjectStoreInternal):
        (WebCore::IDBDatabaseBackendImpl::removeObjectStore):
        (WebCore::IDBDatabaseBackendImpl::setVersionInternal):
        * storage/IDBFactory.cpp:
        (WebCore::IDBFactory::open):
        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::openSQLiteDatabase):
        (WebCore::IDBFactoryBackendImpl::open):
        * storage/IDBFactoryBackendImpl.h:
        * storage/IDBFactoryBackendInterface.h:
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::putObjectStoreData):
        (WebCore::putIndexData):
        (WebCore::IDBObjectStoreBackendImpl::put):
        (WebCore::IDBObjectStoreBackendImpl::putInternal):
        (WebCore::IDBObjectStoreBackendImpl::createIndexInternal):
        * storage/IDBObjectStoreBackendImpl.h:
2010-10-08  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IndexedDB does not have a quota mechanism.
        https://bugs.webkit.org/show_bug.cgi?id=47389

        * public/WebIDBFactory.h:
        (WebKit::WebIDBFactory::open):
        * src/IDBFactoryBackendProxy.cpp:
        (WebCore::IDBFactoryBackendProxy::open):
        * src/IDBFactoryBackendProxy.h:
        * src/WebIDBFactoryImpl.cpp:
        (WebKit::WebIDBFactoryImpl::open):
        * src/WebIDBFactoryImpl.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69421 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Michael Saboff  <msaboff@apple.com>

        Reviewed by Darin Adler.

        Added check to start of subexpression being positive before using
        subexpression in replacement.
        https://bugs.webkit.org/show_bug.cgi?id=47324

        * runtime/StringPrototype.cpp:
        (JSC::substituteBackreferencesSlow):
2010-10-08  Michael Saboff  <msaboff@apple.com>

        Reviewed by Darin Adler.

        Added test case to verify subexpression that didn't match is not
        included in replacement.
        https://bugs.webkit.org/show_bug.cgi?id=47324

        * fast/js/script-tests/string-replace-3.js:
        * fast/js/string-replace-3-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Andy Estes  <aestes@apple.com>

        Reviewed by Darin Adler.

        REGRESSION (r66599): Crash when using CSS content and -webkit-mask-box-image properties containing cached images.
        https://bugs.webkit.org/show_bug.cgi?id=47430

        Test: fast/replaced/css-content-and-webkit-mask-box-image-crash.html

        * rendering/RenderImage.cpp:
        (WebCore::RenderImage::imageChanged): imageChanged() can be called prior
        to m_imageResource being set. The appropriate thing to do in this case
        is to return early.
        (WebCore::RenderImage::notifyFinished): Ditto.
2010-10-08  Andy Estes  <aestes@apple.com>

        Reviewed by Darin Adler.

        REGRESSION (r66599): Crash when using CSS content and -webkit-mask-box-image properties containing cached images.
        https://bugs.webkit.org/show_bug.cgi?id=47430

        * fast/replaced/css-content-and-webkit-mask-box-image-crash-expected.txt: Added.
        * fast/replaced/css-content-and-webkit-mask-box-image-crash.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Dynamically added elements should take priority in getElementById
        https://bugs.webkit.org/show_bug.cgi?id=9354

        Our behavior now appears to match Firefox.  This test just documents
        our behavior.

        * fast/dom/multiple-ids-expected.txt: Added.
        * fast/dom/multiple-ids.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69425 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix the ChangeLog entry of a previous commit that blamed the wrong SVN revision for a regression.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-10-08  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r68574.
        http://trac.webkit.org/changeset/68574
        https://bugs.webkit.org/show_bug.cgi?id=47433

        [chromium] Breaks partial repaint of images while scrolling
        (Requested by jamesr on #webkit).

        * platform/chromium-linux/svg/custom/image-rescale-expected.checksum: Removed.
        * platform/chromium-linux/svg/custom/image-rescale-expected.png: Removed.
        * platform/chromium-linux/svg/custom/image-rescale-expected.txt: Removed.
        * platform/mac/svg/custom/image-rescale-expected.checksum: Removed.
        * platform/mac/svg/custom/image-rescale-expected.png: Removed.
        * platform/mac/svg/custom/image-rescale-expected.txt: Removed.
        * svg/custom/image-rescale.svg: Removed.
        * svg/custom/resources/image-rescale.jpg: Removed.
2010-10-08  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r68574.
        http://trac.webkit.org/changeset/68574
        https://bugs.webkit.org/show_bug.cgi?id=47433

        [chromium] Breaks partial repaint of images while scrolling
        (Requested by jamesr on #webkit).

        * platform/graphics/skia/ImageSkia.cpp:
        (WebCore::computeResamplingMode):
        (WebCore::drawResampledBitmap):

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