2011-05-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Simon Fraser.

        editing/pasteboard/style-from-rules.html is flaky on Mac bots
        https://bugs.webkit.org/show_bug.cgi?id=61586

        Don't attach an event listener to dump markup on paste when ran by DRT
        because we manually dump markup in DRT.

        * editing/pasteboard/style-from-rules.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Annie Sullivan  <sullivan@chromium.org>

        Reviewed by Ryosuke Niwa.

        Delete table in contentEditable/designMode produces odd contents
        https://bugs.webkit.org/show_bug.cgi?id=57148

        Add a test for the case given in the bug: deleting an unstyled table
        should not leave behind a style span.

        Rebaseline tests now that border-collapse, -webkit-border-horizontal-spacing,
        and -webkit-border-vertical-spacing style spans are no longer added on
        table and table cell deletion, and no longer applied when copying to the
        clipboard.

        * editing/deleting/5026848-2-expected.txt:
        * editing/deleting/5026848-3-expected.txt:
        * editing/deleting/5032066-expected.txt:
        * editing/deleting/5115601-expected.txt:
        * editing/deleting/5206311-2-expected.txt:
        * editing/deleting/delete-block-table-expected.txt:
        * editing/deleting/delete-last-char-in-table-expected.txt: Added.
        * editing/deleting/delete-last-char-in-table.html: Added. New test for bug.
        * editing/deleting/delete-select-all-001-expected.txt:
        * editing/pasteboard/data-transfer-items-expected.txt:
        * editing/pasteboard/onpaste-text-html-expected.txt:
        * editing/selection/4895428-1-expected.txt:
        * editing/selection/4895428-4-expected.txt:
        * fast/events/ondrop-text-html-expected.txt:
2011-05-26  Annie Sullivan  <sullivan@chromium.org>

        Reviewed by Ryosuke Niwa.

        Delete table in contentEditable/designMode produces odd contents
        https://bugs.webkit.org/show_bug.cgi?id=57148

        Removes border-collapse, -webkit-border-horizontal-spacing, and
        -webkit-border-vertical-spacing from the list of properties which
        should be preserved during edit operations. Also renames this
        list to editingInheritableProperties to be more clear about what
        the list is for.

        Test: editing/deleting/delete-last-char-in-table.html

        * editing/EditingStyle.cpp: Removes border vertical/horizontal
        spacing from editingStyleProperties.
        * editing/EditingStyle.h: Renames OnlyInheritableProperties to
        OnlyEditingInheritableProperties.
        * editing/markup.cpp: Renames InheritablePropertiesAndBackgroundColorInEffect.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Emil A Eklund  <eae@chromium.org>

        Reviewed by Eric Seidel.

        Replace RenderLayer::x/y/width/height with location/size
        https://bugs.webkit.org/show_bug.cgi?id=61414

        Covered by existing tests.

        * dom/MouseRelatedEvent.cpp:
        (WebCore::MouseRelatedEvent::computeRelativePosition):
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::computeRectForRepaint):
        * rendering/RenderBox.h:
        (WebCore::RenderBox::maxLayoutOverflow):
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::clippedOverflowRectForRepaint):
        (WebCore::RenderInline::computeRectForRepaint):
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::updateLayerPosition):
        (WebCore::RenderLayer::convertToLayerCoords):
        (WebCore::RenderLayer::offsetFromResizeCorner):
        (WebCore::RenderLayer::calculateRects):
        * rendering/RenderLayer.h:
        (WebCore::RenderLayer::location):
        (WebCore::RenderLayer::setSize):
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::computeRectForRepaint):
        * rendering/RenderTreeAsText.cpp:
        (WebCore::write):
        (WebCore::writeLayers):
        (WebCore::externalRepresentation):
        * rendering/RenderView.cpp:
        (WebCore::RenderView::absoluteRects):
        (WebCore::RenderView::absoluteQuads):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        editing/pasteboard/5027857.html should be renamed and converted to a dump-as-markup test
        https://bugs.webkit.org/show_bug.cgi?id=61602

        Renamed 5027857.html to paste-code-in-pre.html and converted it to a dump-as-markup test.

        * editing/pasteboard/5027857.html: Removed.
        * editing/pasteboard/paste-code-in-pre-expected.txt: Added.
        * editing/pasteboard/paste-code-in-pre.html: Copied from LayoutTests/editing/pasteboard/5027857.html.
        * platform/chromium-linux/editing/pasteboard/5027857-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/5027857-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/5027857-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/paste-code-in-pre-expected.txt: Added.
        * platform/gtk/editing/pasteboard/5027857-expected.png: Removed.
        * platform/gtk/editing/pasteboard/5027857-expected.txt: Removed.
        * platform/mac-leopard/editing/pasteboard/5027857-expected.png: Removed.
        * platform/mac/editing/pasteboard/5027857-expected.png: Removed.
        * platform/mac/editing/pasteboard/5027857-expected.txt: Removed.
        * platform/qt/editing/pasteboard/5027857-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Adam Barth.

        Fix worldID and destinationDomain argument names
        https://bugs.webkit.org/show_bug.cgi?id=61571

        As part of working on r87423, I noticed a couple of inconsistencies in
        argument names:
        - We would use worldId in .h files but worldID in .cpp files.
          Standardize on the latter
        - SecurityOrigin::addOriginAccessWhitelistEntry would take a
          destinationDomains argument, even though the actual parameter was for
          a single domain (renamed to be singular).

        * bindings/v8/ScriptController.h:
        * bindings/v8/V8Proxy.h:
        * page/SecurityOrigin.cpp:
        (WebCore::SecurityOrigin::addOriginAccessWhitelistEntry):
        (WebCore::SecurityOrigin::removeOriginAccessWhitelistEntry):
        * page/SecurityOrigin.h:
2011-05-26  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Adam Barth.

        Fix worldID and destinationDomain argument names
        https://bugs.webkit.org/show_bug.cgi?id=61571

        As part of working on r87423, I noticed a couple of inconsistencies in
        argument names:
        - We would use worldId in .h files but worldID in .cpp files.
          Standardize on the latter
        - SecurityOrigin::addOriginAccessWhitelistEntry would take a
          destinationDomains argument, even though the actual parameter was for
          a single domain (renamed to be singular).

        * public/WebFrame.h:
        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
        (WebKit::WebFrameImpl::setIsolatedWorldSecurityOrigin):
        * src/WebFrameImpl.h:
2011-05-26  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Adam Barth.

        Fix worldID and destinationDomain argument names
        https://bugs.webkit.org/show_bug.cgi?id=61571

        As part of working on r87423, I noticed a couple of inconsistencies in
        argument names:
        - We would use worldId in .h files but worldID in .cpp files.
          Standardize on the latter
        - SecurityOrigin::addOriginAccessWhitelistEntry would take a
          destinationDomains argument, even though the actual parameter was for
          a single domain (renamed to be singular).

        * DumpRenderTree/LayoutTestController.h:
        * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
        (LayoutTestController::evaluateScriptInIsolatedWorld):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        editing/pasteboard/5089327.html should be renamed and converted to a dump-as-markup test
        https://bugs.webkit.org/show_bug.cgi?id=61597

        Renamed 5089327.html to paste-into-blockquote-with-document-font-color.html and converted it
        to a dump-as-markup test.

        * editing/pasteboard/5089327.html: Removed.
        * editing/pasteboard/paste-into-blockquote-with-document-font-color-expected.txt: Added.
        * editing/pasteboard/paste-into-blockquote-with-document-font-color.html: Copied from
        LayoutTests/editing/pasteboard/5089327.html.
        * platform/chromium-linux/editing/pasteboard/5089327-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/5089327-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/5089327-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/5089327-expected.txt: Removed.
        * platform/mac-leopard/editing/pasteboard/5089327-expected.png: Removed.
        * platform/mac/editing/pasteboard/5089327-expected.png: Removed.
        * platform/mac/editing/pasteboard/5089327-expected.txt: Removed.
        * platform/qt/editing/pasteboard/5089327-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Hajime Morita.

        editing/pasteboard/5483567.html should be renamed and converted to a dump-as-markup test.
        https://bugs.webkit.org/show_bug.cgi?id=61599

        Renamed 5483567.html to pasting-word-in-div-extra-line.html and converted it to
        a dump-as-markup test.

        * editing/pasteboard/5483567.html: Removed.
        * editing/pasteboard/pasting-word-in-div-extra-line-expected.txt: Added.
        * editing/pasteboard/pasting-word-in-div-extra-line.html: Copied from
        LayoutTests/editing/pasteboard/5483567.html.
        * platform/chromium-linux/editing/pasteboard/5483567-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/5483567-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/5483567-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/5483567-expected.txt: Removed.
        * platform/mac-leopard/editing/pasteboard/5483567-expected.png: Removed.
        * platform/mac/editing/pasteboard/5483567-expected.png: Removed.
        * platform/mac/editing/pasteboard/5483567-expected.txt: Removed.
        * platform/qt/editing/pasteboard/5483567-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        editing/pasteboard/4700297.html should be renamed and converted to a dump-as-markup test
        https://bugs.webkit.org/show_bug.cgi?id=61595

        Renamed 4700297.html to insert-div-text-into-text.html and converted it into a dump-as-markup test.

        * editing/pasteboard/4700297.html: Removed.
        * editing/pasteboard/insert-div-text-into-text-expected.txt: Added.
        * editing/pasteboard/insert-div-text-into-text.html: Copied from LayoutTests/editing/pasteboard/4700297.html.
        * platform/chromium-linux/editing/pasteboard/4700297-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/4700297-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/4700297-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/4700297-expected.png: Removed.
        * platform/gtk/editing/pasteboard/4700297-expected.txt: Removed.
        * platform/mac-leopard/editing/pasteboard/4700297-expected.png: Removed.
        * platform/mac/editing/pasteboard/4700297-expected.png: Removed.
        * platform/mac/editing/pasteboard/4700297-expected.txt: Removed.
        * platform/qt/editing/pasteboard/4700297-expected.png: Removed.
        * platform/qt/editing/pasteboard/4700297-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Support cross-origin property for images
        https://bugs.webkit.org/show_bug.cgi?id=61015

        Test various cases involving CORS requests and canvas tainting.

        * http/tests/security/canvas-remote-read-remote-image-allowed-expected.txt: Added.
        * http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials-expected.txt: Added.
        * http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials.html: Added.
        * http/tests/security/canvas-remote-read-remote-image-allowed.html: Added.
        * http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin-expected.txt: Added.
        * http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin.html: Added.
        * http/tests/security/resources/abe-allow-credentials.php: Added.
        * http/tests/security/resources/abe-allow-star.php: Added.
2011-05-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Support cross-origin property for images
        https://bugs.webkit.org/show_bug.cgi?id=61015

        This patch add support for the crossorigin attribute of images and
        teaches 2D canvas to respect that flag and not taint a canvas if the
        image drawn on the canvas is allowed by CORS.

        While I was editing this code, I couldn't resist a couple touch-up
        changes.

        Tests: http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials.html
               http/tests/security/canvas-remote-read-remote-image-allowed.html
               http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin.html

        * html/HTMLAttributeNames.in:
        * html/HTMLCanvasElement.cpp:
        (WebCore::HTMLCanvasElement::securityOrigin):
        * html/HTMLCanvasElement.h:
        * html/HTMLImageElement.idl:
        * html/canvas/CanvasRenderingContext.cpp:
        (WebCore::CanvasRenderingContext::checkOrigin):
        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::createPattern):
        * loader/ImageLoader.cpp:
        (WebCore::ImageLoader::updateFromElement):
        * loader/cache/CachedResource.cpp:
        (WebCore::CachedResource::passesAccessControlCheck):
        * loader/cache/CachedResource.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Luke Macpherson   <macpherson@chromium.org>

        Reviewed by Eric Seidel.

        Implement webkit margin collapse CSS properties in CSSStyleApplyProperty
        https://bugs.webkit.org/show_bug.cgi?id=61589

        No new tests as no new functionality added.

        * css/CSSStyleApplyProperty.cpp:
        (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
        Add handlers for:
          CSSPropertyWebkitMarginBeforeCollapse
          CSSPropertyWebkitMarginAfterCollapse
          CSSPropertyWebkitMarginTopCollapse
          CSSPropertyWebkitMarginBottomCollapse
          CSSPropertyWebkitMarginCollapse
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        Remove cases that are no longer required.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Shane Stephens  <shanestephens@google.com>

        Reviewed by James Robinson.

        REGRESSION (r81992): layout triggered by position update fails to apply when transform is updated at same time
        https://bugs.webkit.org/show_bug.cgi?id=60689

        * transforms/2d/set-transform-and-top-expected.txt: Added.
        * transforms/2d/set-transform-and-top.html: Added.
2011-05-26  Shane Stephens  <shanestephens@google.com>

        Reviewed by James Robinson.

        REGRESSION (r81992): layout triggered by position update fails to apply when transform is updated at same time
        https://bugs.webkit.org/show_bug.cgi?id=60689

        When a transform is modified in a style, we were upgrading our understanding
        of the difference from PositionedMovementOnly to SimplifiedLayout.  However,
        if the position of the style is independently changed at the same time, both
        PositionedMovement and SimplifiedLayout passes are required.

        Test: transforms/2d/set-transform-and-top.html

        * rendering/RenderObject.cpp:
        Added checks for SimplifiedLayoutAndPositionedMovement - when encountered,
        set both PositionedMovement and SimplifiedLayout update flasgs.
        * rendering/style/RenderStyleConstants.h:
        Added a new StyleDifference enum value (SimplifiedLayoutAndPositionedMovement) for
        cases when both PositionedMovement and SimplifiedLayout are required.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Adam Barth.

        Convert editing/pasteboard/interchange-newline-*.html to dump-as-markup tests.
        https://bugs.webkit.org/show_bug.cgi?id=61605

        Converted interchange-newline-1 thorugh 4 to dump-as-markup tests.
        Also revised some test descriptions.

        * editing/pasteboard/interchange-newline-1-expected.txt: Added.
        * editing/pasteboard/interchange-newline-1.html:
        * editing/pasteboard/interchange-newline-2-expected.txt: Added.
        * editing/pasteboard/interchange-newline-2.html:
        * editing/pasteboard/interchange-newline-3-expected.txt: Added.
        * editing/pasteboard/interchange-newline-3.html:
        * editing/pasteboard/interchange-newline-4-expected.txt: Added.
        * editing/pasteboard/interchange-newline-4.html:
        * platform/chromium-linux/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/interchange-newline-2-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/interchange-newline-3-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/interchange-newline-4-expected.png: Removed.
        * platform/chromium-mac-leopard/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/chromium-mac/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-2-expected.png: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-2-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-3-expected.png: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-4-expected.png: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-4-expected.txt: Removed.
        * platform/mac-leopard/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/mac-leopard/editing/pasteboard/interchange-newline-2-expected.png: Removed.
        * platform/mac-leopard/editing/pasteboard/interchange-newline-3-expected.png: Removed.
        * platform/mac-leopard/editing/pasteboard/interchange-newline-4-expected.png: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-2-expected.png: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-2-expected.txt: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-3-expected.png: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-4-expected.png: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-4-expected.txt: Removed.
        * platform/qt/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/qt/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
        * platform/qt/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
        * platform/qt/editing/pasteboard/interchange-newline-4-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Adam Barth.

        Convert editing/pasteboard/merge-end-*.html to dump-as-markup tests
        https://bugs.webkit.org/show_bug.cgi?id=61607

        * editing/pasteboard/merge-end-1-expected.txt: Added.
        * editing/pasteboard/merge-end-1.html:
        * editing/pasteboard/merge-end-2-expected.txt: Added.
        * editing/pasteboard/merge-end-2.html:
        * editing/pasteboard/merge-end-3-expected.txt: Added.
        * editing/pasteboard/merge-end-3.html:
        * editing/pasteboard/merge-end-4-expected.txt: Added.
        * editing/pasteboard/merge-end-4.html:
        * editing/pasteboard/merge-end-5-expected.txt: Added.
        * editing/pasteboard/merge-end-5.html:
        * platform/chromium-linux/editing/pasteboard/merge-end-1-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/merge-end-2-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/merge-end-3-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/merge-end-4-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/merge-end-5-expected.png: Removed.
        * platform/chromium-mac-leopard/editing/pasteboard/merge-end-4-expected.png: Removed.
        * platform/chromium-mac/editing/pasteboard/merge-end-4-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/merge-end-1-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/merge-end-1-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/merge-end-2-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/merge-end-2-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/merge-end-3-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/merge-end-3-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/merge-end-4-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/merge-end-4-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/merge-end-5-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/merge-end-5-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/merge-end-1-expected.png: Removed.
        * platform/gtk/editing/pasteboard/merge-end-1-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/merge-end-2-expected.png: Removed.
        * platform/gtk/editing/pasteboard/merge-end-2-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/merge-end-3-expected.png: Removed.
        * platform/gtk/editing/pasteboard/merge-end-3-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/merge-end-4-expected.png: Removed.
        * platform/gtk/editing/pasteboard/merge-end-4-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/merge-end-5-expected.png: Removed.
        * platform/gtk/editing/pasteboard/merge-end-5-expected.txt: Removed.
        * platform/mac-leopard/editing/pasteboard/merge-end-1-expected.png: Removed.
        * platform/mac-leopard/editing/pasteboard/merge-end-2-expected.png: Removed.
        * platform/mac-leopard/editing/pasteboard/merge-end-3-expected.png: Removed.
        * platform/mac-leopard/editing/pasteboard/merge-end-5-expected.png: Removed.
        * platform/mac/editing/pasteboard/merge-end-1-expected.png: Removed.
        * platform/mac/editing/pasteboard/merge-end-1-expected.txt: Removed.
        * platform/mac/editing/pasteboard/merge-end-2-expected.png: Removed.
        * platform/mac/editing/pasteboard/merge-end-2-expected.txt: Removed.
        * platform/mac/editing/pasteboard/merge-end-3-expected.png: Removed.
        * platform/mac/editing/pasteboard/merge-end-3-expected.txt: Removed.
        * platform/mac/editing/pasteboard/merge-end-4-expected.png: Removed.
        * platform/mac/editing/pasteboard/merge-end-4-expected.txt: Removed.
        * platform/mac/editing/pasteboard/merge-end-5-expected.png: Removed.
        * platform/mac/editing/pasteboard/merge-end-5-expected.txt: Removed.
        * platform/qt/editing/pasteboard/merge-end-1-expected.png: Removed.
        * platform/qt/editing/pasteboard/merge-end-1-expected.txt: Removed.
        * platform/qt/editing/pasteboard/merge-end-2-expected.png: Removed.
        * platform/qt/editing/pasteboard/merge-end-2-expected.txt: Removed.
        * platform/qt/editing/pasteboard/merge-end-3-expected.png: Removed.
        * platform/qt/editing/pasteboard/merge-end-3-expected.txt: Removed.
        * platform/qt/editing/pasteboard/merge-end-4-expected.png: Removed.
        * platform/qt/editing/pasteboard/merge-end-4-expected.txt: Removed.
        * platform/qt/editing/pasteboard/merge-end-5-expected.png: Removed.
        * platform/qt/editing/pasteboard/merge-end-5-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Adam Barth.

        Convert editing/pasteboard/paste-blockquote-1.html to a dump-as-markup test
        https://bugs.webkit.org/show_bug.cgi?id=61608

        Converted paste-blockquote-1.html to a dump-as-markup test.

        * editing/pasteboard/paste-blockquote-1-expected.txt: Added.
        * editing/pasteboard/paste-blockquote-1.html:
        * platform/chromium-linux/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.
        * platform/mac-leopard/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
        * platform/mac/editing/pasteboard/paste-blockquote-1-expected.png: Removed.
        * platform/mac/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.
        * platform/qt/editing/pasteboard/paste-blockquote-1-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Ryosuke Niwa.

        FrameLoader cannot be null
        https://bugs.webkit.org/show_bug.cgi?id=61609

        This code has a bunch of cargo-cult null checking.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::createRenderer):
        (WebCore::HTMLMediaElement::attach):
        (WebCore::HTMLMediaElement::loadResource):
        (WebCore::HTMLMediaElement::getPluginProxyParams):
        (WebCore::HTMLMediaElement::createMediaPlayerProxy):
        (WebCore::HTMLMediaElement::updateWidget):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-26  MORITA Hajime <morrita@google.com>

        Reviewed by Kent Tamura.

        WebCore::HTMLSummaryElement::isMainSummary crashes
        https://bugs.webkit.org/show_bug.cgi?id=61511

        * fast/html/details-summary-document-child-expected.txt: Added.
        * fast/html/details-summary-document-child.html: Added.
2011-05-26  MORITA Hajime  <morrita@google.com>

        Reviewed by Kent Tamura.

        WebCore::HTMLSummaryElement::isMainSummary ReadAV@NULL
        https://bugs.webkit.org/show_bug.cgi?id=61511

        Removed Unnecessary wrong cast to Elmement, which can be non-Element.

        Test: fast/html/details-summary-document-child.html

        * html/HTMLSummaryElement.cpp:
        (WebCore::HTMLSummaryElement::detailsElement):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed, mark editing/pasteboard/interchange-newline-2.html as failing on Linux

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed, suppress http/tests/local/formdata/ test crashes after r87460

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-05-23  MORITA Hajime  <morrita@google.com>

        Reviewed by Tony Chang.

        [Refactoring] DocumentMarker should be carried around as a pointer, not value.
        https://bugs.webkit.org/show_bug.cgi?id=61262

        - Changed return value of markersInRange() from Vector<DocumentMarker> to Vector<DocumentMarker*>.
        - Introduced markersFor() that returns Vector<DocumentMarker*>
        - Removed DocumentMarkerController::setRenderedRectForMarker() which now can be replaced by
          RenderedDocumentMarker::setRenderedRect().
        - This change didn't remove markersForNode() beucase there is patches on review which depends
          markersForNode(). I'll remove its call after these patches are landed.

        No new tests. No behavior change.

        * WebCore.exp.in:
        * dom/DocumentMarkerController.cpp:
        (WebCore::DocumentMarkerController::addTextMatchMarker):
        (WebCore::DocumentMarkerController::markersFor):
        (WebCore::DocumentMarkerController::markersInRange):
        (WebCore::DocumentMarkerController::hasMarkers):
        * dom/DocumentMarkerController.h:
        * dom/RenderedDocumentMarker.h:
        (WebCore::toRenderedDocumentMarker):
        * editing/CompositeEditCommand.cpp:
        (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers):
        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::originalStringForAutocorrectionAtBeginningOfSelection):
        * editing/Editor.cpp:
        (WebCore::Editor::selectionStartHasMarkerFor):
        * editing/SpellingCorrectionController.cpp:
        (WebCore::markersHaveIdenticalDescription):
        (WebCore::SpellingCorrectionController::respondToChangedSelection):
        (WebCore::SpellingCorrectionController::recordSpellcheckerResponseForModifiedCorrection):
        (WebCore::SpellingCorrectionController::processMarkersOnTextToBeReplacedByResult):
        * editing/SpellingCorrectionController.h:
        (WebCore::SpellingCorrectionController::shouldStartTimerFor):
        * rendering/InlineTextBox.cpp:
        (WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
        (WebCore::InlineTextBox::paintTextMatchMarker):
        (WebCore::InlineTextBox::computeRectForReplacementMarker):
        (WebCore::InlineTextBox::paintDocumentMarkers):
        * rendering/InlineTextBox.h:
        * rendering/svg/SVGInlineFlowBox.cpp:
        (WebCore::SVGInlineFlowBox::computeTextMatchMarkerRectForRenderer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed, mark editing/pasteboard/interchange-newline-2.html as failing on Windows (bots are slow :(

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