WebKit-https.git
9 years ago2011-03-31 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 31 Mar 2011 17:37:59 +0000 (17:37 +0000)]
2011-03-31  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Link explicitly with XRender on Linux/Unix
        https://bugs.webkit.org/show_bug.cgi?id=57558

        Some linkers, like GNU Gold, require explicit linkage of all the
        libraries used instead of relying on our dependencies to bring
        them in. In this case, the build fails because we use XRender in
        the plugin code but don't link directly to it.

        * configure.ac: check for XRender on UNIX.
2011-03-31  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Link explicitly with XRender on Linux/Unix
        https://bugs.webkit.org/show_bug.cgi?id=57558

        * GNUmakefile.am: add XRender CFLAGS.
2011-03-31  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Link explicitly with XRender on Linux/Unix
        https://bugs.webkit.org/show_bug.cgi?id=57558

        * GNUmakefile.am: add XRender LIBS.

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

9 years agoRemove XMLViewer.css and XMLViewer.js from the WebCore Sources to fix a warning.
timothy@apple.com [Thu, 31 Mar 2011 17:35:29 +0000 (17:35 +0000)]
Remove XMLViewer.css and XMLViewer.js from the WebCore Sources to fix a warning.

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

9 years ago2011-03-31 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 31 Mar 2011 17:25:56 +0000 (17:25 +0000)]
2011-03-31  Eric Seidel  <eric@webkit.org>

        Reviewed by Ryosuke Niwa.

        Rename BidiResolver::emptyRun to m_emtpyRun to match modern style
        https://bugs.webkit.org/show_bug.cgi?id=57549

        * platform/text/BidiResolver.h:
        (WebCore::BidiResolver::BidiResolver):
        (WebCore::::appendRun):
        (WebCore::::lowerExplicitEmbeddingLevel):
        (WebCore::::raiseExplicitEmbeddingLevel):
        (WebCore::::deleteRuns):
        (WebCore::::createBidiRunsForLine):
        * rendering/InlineIterator.h:
        (WebCore::InlineBidiResolver::appendRun):

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

9 years ago2011-03-31 Tom Sepez <tsepez@chromium.org>
inferno@chromium.org [Thu, 31 Mar 2011 17:20:13 +0000 (17:20 +0000)]
2011-03-31  Tom Sepez  <tsepez@chromium.org>

        Reviewed by Eric Seidel.

        Make ContainerNode::insertIntoDocument() collect all nodes before
        operating on any of them.  Add small helper function and use it
        througout the file where this action is already taking place.
        https://bugs.webkit.org/show_bug.cgi?id=57265

        Test: svg/dom/range-delete.html

        * dom/ContainerNode.cpp:
        (WebCore::collectNodes):
        (WebCore::collectTargetNodes):
        (WebCore::ContainerNode::takeAllChildrenFrom):
        (WebCore::willRemoveChildren):
        (WebCore::ContainerNode::insertedIntoDocument):
2011-03-31  Tom Sepez  <tsepez@chromium.org>

        Reviewed by Eric Seidel.

        Test that script inside an SVG can delete a range containing
        itself when invoked on top of script manipulating it.
        https://bugs.webkit.org/show_bug.cgi?id=57265

        * svg/dom/range-delete-expected.txt: Added.
        * svg/dom/range-delete.html: Added.

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

9 years ago2011-03-31 Satish Sampath <satish@chromium.org>
satish@chromium.org [Thu, 31 Mar 2011 17:18:02 +0000 (17:18 +0000)]
2011-03-31  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        While drawing a speech input button, validate that the node is really a speech input button.
        https://bugs.webkit.org/show_bug.cgi?id=57469

        * fast/speech/speech-style-on-non-speech-elements-expected.txt: Added.
        * fast/speech/speech-style-on-non-speech-elements.html: Added.
2011-03-31  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        While drawing a speech input button, validate that the node is really a speech input button.
        https://bugs.webkit.org/show_bug.cgi?id=57469

        Test: fast/speech/speech-style-on-non-speech-elements.html

        * dom/Element.h:
        (WebCore::Element::isInputFieldSpeechButtonElement):
        * html/shadow/TextControlInnerElements.h:
        (WebCore::InputFieldSpeechButtonElement::isInputFieldSpeechButtonElement):
        (WebCore::toInputFieldSpeechButtonElement):
        * rendering/RenderInputSpeech.cpp:
        (WebCore::RenderInputSpeech::paintInputFieldSpeechButton):

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

9 years ago<rdar://problem/9214824> Find client not told when WKPageCountStringMatches exceeds...
sullivan@apple.com [Thu, 31 Mar 2011 17:09:53 +0000 (17:09 +0000)]
<rdar://problem/9214824> Find client not told when WKPageCountStringMatches exceeds maximum
https://bugs.webkit.org/show_bug.cgi?id=57552

Reviewed by Darin Adler and Adam Roben.

* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::countStringMatches):
Use the same technique as findString() to report kWKMoreThanMaximumMatchCount when appropriate.
(WebKit::FindController::findString):
Convert numeric_limits::max() to max() - 1 to avoid overflow case.

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

9 years ago2011-03-31 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 31 Mar 2011 16:59:57 +0000 (16:59 +0000)]
2011-03-31  Ryosuke Niwa  <rniwa@webkit.org>

        Build fix after r82588. Reverted unintentional change.

        * editing/SelectionController.cpp:
        (WebCore::SelectionController::modifyMovingLeft):

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

9 years ago2011-03-31 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Thu, 31 Mar 2011 16:57:24 +0000 (16:57 +0000)]
2011-03-31  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Warnings happening because of unhandled switch cases in AccessibilityObjectWrapperAtk
        https://bugs.webkit.org/show_bug.cgi?id=57534

        Fix compilation warnings.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (getAttributeSetForAccessibilityObject): Add unhandled cases.

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

9 years ago2011-03-31 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Thu, 31 Mar 2011 16:53:35 +0000 (16:53 +0000)]
2011-03-31  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] implement LayoutTestController::setWillSendRequestReturnsNull
        https://bugs.webkit.org/show_bug.cgi?id=57362

        * platform/gtk/Skipped: unskipped
        fast/loader/onload-willSendRequest-null-for-frame.html.
2011-03-31  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] implement LayoutTestController::setWillSendRequestReturnsNull
        https://bugs.webkit.org/show_bug.cgi?id=57362

        Do not generate DRT output if willSendRequestReturnsNull is set.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (willSendRequestCallback):

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

9 years ago2011-03-30 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 31 Mar 2011 16:34:13 +0000 (16:34 +0000)]
2011-03-30  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: remove unnecessary newBody output parameter from editScriptSource protocol method.
        https://bugs.webkit.org/show_bug.cgi?id=57444

        * http/tests/inspector/debugger-test.js:
        (initialize_DebuggerTest):
        * inspector/debugger/live-edit-expected.txt:
        * inspector/debugger/live-edit.html:
        * inspector/debugger/resources/edit-me-when-paused.js: Added.
        (f2):
        (f1):
2011-03-30  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: remove unnecessary newBody output parameter from editScriptSource protocol method.
        https://bugs.webkit.org/show_bug.cgi?id=57444

        * bindings/js/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::editScriptSource):
        * bindings/js/ScriptDebugServer.h:
        * bindings/v8/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::editScriptSource):
        * bindings/v8/ScriptDebugServer.h:
        * inspector/Inspector.json:
        * inspector/InspectorDebuggerAgent.cpp:
        (WebCore::InspectorDebuggerAgent::editScriptSource):
        * inspector/InspectorDebuggerAgent.h:
        * inspector/front-end/DebuggerModel.js:
        (WebInspector.DebuggerModel.prototype.editScriptSource):
        (WebInspector.DebuggerModel.prototype._didEditScriptSource):
        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel.prototype.editScriptSource.didEditScriptSource):
        (WebInspector.DebuggerPresentationModel.prototype.editScriptSource):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._handleSave.didEditScriptSource):
        (WebInspector.SourceFrame.prototype._handleSave):

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

9 years ago2011-03-30 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 31 Mar 2011 16:32:03 +0000 (16:32 +0000)]
2011-03-30  MORITA Hajime  <morrita@google.com>

        Reviewed by Dimitri Glazkov.

        <meter> can only support horizontal indicator
        https://bugs.webkit.org/show_bug.cgi?id=56001

        - Simpflied some test cases which had vertical indicators.
        - Updated expectations due to shadow structure change

        * fast/dom/HTMLMeterElement/meter-element.html:
        * fast/dom/HTMLMeterElement/meter-styles-changing-pseudo.html:
        * fast/dom/HTMLMeterElement/meter-styles.html:
        * platform/mac/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.checksum:
        * platform/mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.png:
        * platform/mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-element-expected.checksum:
        * platform/mac/fast/dom/HTMLMeterElement/meter-element-expected.png:
        * platform/mac/fast/dom/HTMLMeterElement/meter-element-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-optimums-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.checksum:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.png:
        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
2011-03-30  MORITA Hajime <morrita@google.com>

        Reviewed by Dimitri Glazkov.

        <meter> can only support horizontal indicator
        https://bugs.webkit.org/show_bug.cgi?id=56001

        - Removed code which deals with the direction and
          left the horizontal path.
        - Removed "horizontal" from related names which is now
          redundant.

        * css/CSSSelector.cpp:
        (WebCore::CSSSelector::pseudoId):
        (WebCore::nameToPseudoTypeMap):
        (WebCore::CSSSelector::extractPseudoType):
        * css/CSSSelector.h:
        * css/html.css:
        (meter::-webkit-meter-bar):
        (meter::-webkit-meter-optimum-value):
        (meter::-webkit-meter-suboptimal-value):
        (meter::-webkit-meter-even-less-good-value):
        * rendering/RenderMeter.cpp:
        (WebCore::RenderMeter::~RenderMeter):
        (WebCore::RenderMeter::createPart):
        (WebCore::RenderMeter::updateFromElement):
        (WebCore::RenderMeter::layoutParts):
        (WebCore::RenderMeter::styleDidChange):
        (WebCore::RenderMeter::shouldHaveParts):
        (WebCore::RenderMeter::valuePartRect):
        (WebCore::RenderMeter::valuePseudoId):
        (WebCore::RenderMeter::barPseudoId):
        (WebCore::RenderMeter::detachShadows):
        (WebCore::RenderMeter::updateShadows):
        * rendering/RenderMeter.h:
        (WebCore::RenderMeter::shadowAttached):
        * rendering/RenderTheme.cpp:
        (WebCore::RenderTheme::supportsMeter):
        * rendering/RenderTheme.h:
        * rendering/RenderThemeMac.h:
        * rendering/RenderThemeMac.mm:
        (WebCore::RenderThemeMac::paintMeter):
        (WebCore::RenderThemeMac::supportsMeter):
        * rendering/style/RenderStyleConstants.h:

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

9 years ago2011-03-30 Xiaomei Ji <xji@chromium.org>
xji@chromium.org [Thu, 31 Mar 2011 16:17:25 +0000 (16:17 +0000)]
2011-03-30  Xiaomei Ji  <xji@chromium.org>

        Reviewed by Ryosuke Niwa.

        Experiment with moving caret by word in visual order.
        https://bugs.webkit.org/show_bug.cgi?id=57336

        * editing/selection/move-by-word-visually-expected.txt: Added.
        * editing/selection/move-by-word-visually.html: Added.
2011-03-30  Xiaomei Ji  <xji@chromium.org>

        Reviewed by Ryosuke Niwa.

        Experiment with moving caret by word in visual order.
        https://bugs.webkit.org/show_bug.cgi?id=57336

        Follow Firefox's convention in Windows,
        In LTR block, word break visually moves cursor to the left boundary of words,
        In RTL block, word break visually moves cursor to the right boundary of words.

        This is the 1st version of implementing "move caret by word in visual order".
        It only works in the following situation:
        1. For a LTR box in a LTR block or a RTL box in RTL block,
        when caret is at the left boundary of the box and we are looking for
        the word boundary in right.
        2. For a LTR or RTL box in a LTR block, when caret is at the left boundary
        of the box and we are looking for the word boundary in left and
        previous box is a LTR box.
        3. For a LTR or RTL box in a RTL block, when the caret is at the right
        boundary of the box and we are looking for the word boundary in right and next box is RTL box.

        An experimental granularity is introduced, as a side effect, functions having switch statements
        to handle those granularities have to add more one case to handle this new granularity.
        The experimental granularity is exposed though JS by '-webkit-visual-word".

        The overall algorithm is looping through inline boxes visually and looking
        for the visually nearest word break position.

        Test: editing/selection/move-by-word-visually.html

        * editing/SelectionController.cpp:
        (WebCore::SelectionController::modifyExtendingRight):
        (WebCore::SelectionController::modifyExtendingForward):
        (WebCore::SelectionController::modifyMovingRight):
        (WebCore::SelectionController::modifyMovingForward):
        (WebCore::SelectionController::modifyExtendingLeft):
        (WebCore::SelectionController::modifyExtendingBackward):
        (WebCore::SelectionController::modifyMovingLeft):
        (WebCore::SelectionController::modifyMovingBackward):
        * editing/TextGranularity.h:
        * editing/VisibleSelection.cpp:
        (WebCore::VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity):
        * editing/visible_units.cpp:
        (WebCore::previousWordBreakInBoxInsideBlockWithSameDirectionality):
        (WebCore::wordBoundaryInBox):
        (WebCore::wordBoundaryInAdjacentBoxes):
        (WebCore::leftWordBoundary):
        (WebCore::rightWordBoundary):
        (WebCore::leftWordPosition):
        (WebCore::rightWordPosition):
        * editing/visible_units.h:
        * page/DOMSelection.cpp:
        (WebCore::DOMSelection::modify):

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

9 years ago2011-03-31 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 31 Mar 2011 16:15:16 +0000 (16:15 +0000)]
2011-03-31  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed WinCE build fix for r82580.

        * WebCoreSupport/FrameLoaderClientWinCE.h: StringWithDirection is in WebCore
                                                   and not in WTF namespace.

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

9 years ago2011-03-31 Evan Martin <evan@chromium.org>
evan@chromium.org [Thu, 31 Mar 2011 16:13:40 +0000 (16:13 +0000)]
2011-03-31  Evan Martin  <evan@chromium.org>

        Another build fix.

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::updateGlobalHistory):

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

9 years ago2011-03-31 Nancy Piedra <nancy.piedra@nokia.com>
commit-queue@webkit.org [Thu, 31 Mar 2011 16:07:25 +0000 (16:07 +0000)]
2011-03-31  Nancy Piedra  <nancy.piedra@nokia.com>

        Reviewed by Benjamin Poulain.

        [Qt] ChromeClientQt.h has coding-style errors
        https://bugs.webkit.org/show_bug.cgi?id=40239

        * WebCoreSupport/ChromeClientQt.h:
        (WebCore::ChromeClientQt::scrollbarsModeDidChange):
        (WebCore::ChromeClientQt::needTouchEvents):
        (WebCore::ChromeClientQt::formStateDidChange):
        (WebCore::ChromeClientQt::scrollRectIntoView):
        (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
        (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):

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

9 years ago2011-03-31 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Thu, 31 Mar 2011 16:01:13 +0000 (16:01 +0000)]
2011-03-31  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Move coordinate-computing logic into MouseRelatedEvent.
        https://bugs.webkit.org/show_bug.cgi?id=57521

        Refactoring, covered by existing tests.

        * dom/EventDispatcher.cpp:
        (WebCore::EventDispatcher::dispatchWheelEvent): Yank calculation of
            coordinates out.
        (WebCore::EventDispatcher::dispatchMouseEvent): Ditto.
        * dom/MouseEvent.cpp:
        (WebCore::MouseEvent::create): Add coordinate-computing logic.
        * dom/MouseEvent.h: Adjust decl to reflect new meaning of params.
        * dom/MouseRelatedEvent.cpp:
        (WebCore::MouseRelatedEvent::MouseRelatedEvent): Ditto.
        * page/EventHandler.cpp:
        (WebCore::EventHandler::dispatchDragEvent): Ditto.

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

9 years ago2011-03-30 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Thu, 31 Mar 2011 15:58:02 +0000 (15:58 +0000)]
2011-03-30  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: document CSS agent.
        https://bugs.webkit.org/show_bug.cgi?id=57435

        * inspector/Inspector.json:

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

9 years ago2011-03-31 Evan Martin <evan@chromium.org>
evan@chromium.org [Thu, 31 Mar 2011 15:34:27 +0000 (15:34 +0000)]
2011-03-31  Evan Martin  <evan@chromium.org>

        Build fix from previous change.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
2011-03-31  Evan Martin  <evan@chromium.org>

        Build fix from previous change.

        * Api/qwebframe.cpp:
        (QWebFrame::title):

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

9 years ago2011-03-31 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Thu, 31 Mar 2011 15:21:33 +0000 (15:21 +0000)]
2011-03-31  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: remove periods at the end of error messages
        https://bugs.webkit.org/show_bug.cgi?id=57544

        * inspector/InjectedScript.cpp:
        (WebCore::InjectedScript::getProperties):
        (WebCore::InjectedScript::makeObjectCall):
        * inspector/InspectorCSSAgent.cpp:
        (WebCore::InspectorCSSAgent::elementForId):
        (WebCore::InspectorCSSAgent::styleSheetForId):
        * inspector/InspectorDOMAgent.cpp:
        (WebCore::InspectorDOMAgent::assertNode):
        (WebCore::InspectorDOMAgent::assertElement):
        (WebCore::InspectorDOMAgent::assertHTMLElement):
        (WebCore::InspectorDOMAgent::querySelector):
        (WebCore::InspectorDOMAgent::querySelectorAll):
        (WebCore::InspectorDOMAgent::setAttribute):
        (WebCore::InspectorDOMAgent::removeAttribute):
        (WebCore::InspectorDOMAgent::removeNode):
        (WebCore::InspectorDOMAgent::setNodeValue):
        * inspector/InspectorDebuggerAgent.cpp:
        (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
        * inspector/InspectorResourceAgent.cpp:
        (WebCore::InspectorResourceAgent::resourceContent):
        (WebCore::InspectorResourceAgent::resourceContentBase64):
        (WebCore::InspectorResourceAgent::getResourceContent):
        * inspector/InspectorRuntimeAgent.cpp:
        (WebCore::InspectorRuntimeAgent::setPropertyValue):

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

9 years ago2011-03-31 Evan Martin <evan@chromium.org>
evan@chromium.org [Thu, 31 Mar 2011 15:17:13 +0000 (15:17 +0000)]
2011-03-31  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        <title> should support dir attribute
        https://bugs.webkit.org/show_bug.cgi?id=50961

        Introduce a new StringWithDirection object that carries a String along
        with the TextDirection associated with the String.  Use this object for
        document titles used within WebCore, because in HTML the direction of
        a title can be set with the 'dir' attribute.

        Put FIXMEs at the WebKit level to expose the new direction information
        to clients.

        No behavioral change intended, so no new tests.  A follow-up will expose
        the title direction and hopefully can be accompanied by tests that
        verify it is correct.

        * dom/Document.cpp:
        (WebCore::Document::Document):
        (WebCore::Document::updateTitle):
        (WebCore::Document::setTitle):
        (WebCore::Document::removeTitle):
        * dom/Document.h:
        (WebCore::Document::title):
        * html/HTMLTitleElement.cpp:
        (WebCore::HTMLTitleElement::HTMLTitleElement):
        (WebCore::HTMLTitleElement::childrenChanged):
        (WebCore::HTMLTitleElement::text):
        (WebCore::HTMLTitleElement::textWithDirection):
        * html/HTMLTitleElement.h:
        * loader/DocumentLoader.cpp:
        (WebCore::DocumentLoader::setTitle):
        * loader/DocumentLoader.h:
        (WebCore::DocumentLoader::title):
        * loader/EmptyClients.h:
        (WebCore::EmptyFrameLoaderClient::dispatchDidReceiveTitle):
        (WebCore::EmptyFrameLoaderClient::setTitle):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::receivedFirstData):
        (WebCore::FrameLoader::commitProvisionalLoad):
        (WebCore::FrameLoader::setTitle):
        * loader/FrameLoader.h:
        * loader/FrameLoaderClient.h:
        * loader/HistoryController.cpp:
        (WebCore::HistoryController::updateForBackForwardNavigation):
        (WebCore::HistoryController::updateForReload):
        (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList):
        (WebCore::HistoryController::updateForClientRedirect):
        (WebCore::HistoryController::updateForCommit):
        (WebCore::HistoryController::setCurrentItemTitle):
        (WebCore::HistoryController::initializeItem):
        * loader/HistoryController.h:
        * platform/text/StringWithDirection.h: Added.
        (WebCore::StringWithDirection::StringWithDirection):
        (WebCore::StringWithDirection::operator==):
        (WebCore::StringWithDirection::operator!=):
        * svg/SVGTitleElement.cpp:
        (WebCore::SVGTitleElement::insertedIntoDocument):
        (WebCore::SVGTitleElement::childrenChanged):
2011-03-31  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        <title> should support dir attribute
        https://bugs.webkit.org/show_bug.cgi?id=50961

        Update to new FrameLoaderClient interface.

        * src/FrameLoaderClientImpl.cpp:
        (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
        (WebKit::FrameLoaderClientImpl::setTitle):
        * src/FrameLoaderClientImpl.h:
        * src/WebDataSourceImpl.cpp:
        (WebKit::WebDataSourceImpl::pageTitle):
2011-03-31  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        <title> should support dir attribute
        https://bugs.webkit.org/show_bug.cgi?id=50961

        Update to new FrameLoaderClient interface.

        * WebCoreSupport/FrameLoaderClientEfl.cpp:
        (WebCore::FrameLoaderClientEfl::dispatchDidReceiveTitle):
        (WebCore::FrameLoaderClientEfl::setTitle):
        * WebCoreSupport/FrameLoaderClientEfl.h:
2011-03-31  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        <title> should support dir attribute
        https://bugs.webkit.org/show_bug.cgi?id=50961

        Update to new FrameLoaderClient interface.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
        (WebKit::FrameLoaderClient::setTitle):
        * WebCoreSupport/FrameLoaderClientGtk.h:
2011-03-31  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        <title> should support dir attribute
        https://bugs.webkit.org/show_bug.cgi?id=50961

        Update to new FrameLoaderClient interface.

        * WebCoreSupport/FrameLoaderClientHaiku.cpp:
        (WebCore::FrameLoaderClientHaiku::dispatchDidReceiveTitle):
        * WebCoreSupport/FrameLoaderClientHaiku.h:
2011-03-31  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        <title> should support dir attribute
        https://bugs.webkit.org/show_bug.cgi?id=50961

        Update to new FrameLoaderClient interface.

        * WebCoreSupport/WebFrameLoaderClient.h:
        * WebCoreSupport/WebFrameLoaderClient.mm:
        (WebFrameLoaderClient::dispatchDidReceiveTitle):
        (WebFrameLoaderClient::setTitle):
2011-03-31  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        <title> should support dir attribute
        https://bugs.webkit.org/show_bug.cgi?id=50961

        Update to new FrameLoaderClient interface.

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
        (WebCore::FrameLoaderClientQt::setTitle):
        * WebCoreSupport/FrameLoaderClientQt.h:
2011-03-31  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        <title> should support dir attribute
        https://bugs.webkit.org/show_bug.cgi?id=50961

        Update to new FrameLoaderClient interface.

        * WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebFrameLoaderClient::dispatchDidReceiveTitle):
        * WebCoreSupport/WebFrameLoaderClient.h:
2011-03-31  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        <title> should support dir attribute
        https://bugs.webkit.org/show_bug.cgi?id=50961

        Update to new FrameLoaderClient interface.

        * WebCoreSupport/FrameLoaderClientWinCE.cpp:
        (WebKit::FrameLoaderClientWinCE::dispatchDidReceiveTitle):
        (WebKit::FrameLoaderClientWinCE::setTitle):
        * WebCoreSupport/FrameLoaderClientWinCE.h:
2011-03-31  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        <title> should support dir attribute
        https://bugs.webkit.org/show_bug.cgi?id=50961

        Update to new FrameLoaderClient interface.

        * WebKitSupport/FrameLoaderClientWx.cpp:
        (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
        (WebCore::FrameLoaderClientWx::setTitle):
        * WebKitSupport/FrameLoaderClientWx.h:
2011-03-31  Evan Martin  <evan@chromium.org>

        Reviewed by Eric Seidel.

        <title> should support dir attribute
        https://bugs.webkit.org/show_bug.cgi?id=50961

        Update to new FrameLoaderClient interface.

        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebKit::WebFrameLoaderClient::dispatchDidReceiveTitle):
        (WebKit::WebFrameLoaderClient::setTitle):
        * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:

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

9 years ago2011-03-31 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 31 Mar 2011 15:12:34 +0000 (15:12 +0000)]
2011-03-31  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, update chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-03-31 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Thu, 31 Mar 2011 15:03:50 +0000 (15:03 +0000)]
2011-03-31  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: CSS domain - make a "range" object, get rid of "properties" object for Style objects
        https://bugs.webkit.org/show_bug.cgi?id=57538

        WebCore:
        * inspector/InspectorStyleSheet.cpp:
        (WebCore::buildSourceRangeObject):
        (WebCore::InspectorStyle::buildObjectForStyle):
        (WebCore::InspectorStyle::populateObjectWithStyleProperties):
        * inspector/front-end/AuditRules.js:
        (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback.selectorsCallback):
        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSStyleDeclaration):

        LayoutTests:
        * http/tests/inspector/elements-test.js:
        (initialize_ElementTest.InspectorTest.rangeText):
        (initialize_ElementTest):
        * inspector/styles/get-set-stylesheet-text.html:
        * inspector/styles/styles-new-API.html:
        * inspector/styles/styles-source-offsets.html:

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

9 years ago2011-03-31 Balazs Kelemen <kbalazs@webkit.org>
kbalazs@webkit.org [Thu, 31 Mar 2011 14:54:48 +0000 (14:54 +0000)]
2011-03-31  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Csaba Osztrogonác.

        [WK2] Introduce an option for no NPAPI support
        https://bugs.webkit.org/show_bug.cgi?id=55828

        Stub out NPAPI support for platform and OS combinations that are
        not supported yet. Ancestor patch was made by Laszlo Gombos.

        * GNUmakefile.am: Add NetscapePluginModuleNone.cpp and NetscapePluginNone.cpp
        to the build system.

        * Shared/Plugins/Netscape/NetscapePluginModule.cpp:
        Remove the sanity check because from now all combinations that
        don't have an explicitly set plugin architecture fall into
        the PLUGIN_ARCHITECTURE(UNSUPPORTED) category and has a stubbed
        implementation.

        * Shared/Plugins/Netscape/NetscapePluginModuleNone.cpp: Added.
        Stubbed implementation.
        (WebKit::NetscapePluginModule::getPluginInfo):
        (WebKit::NetscapePluginModule::determineQuirks):

        * Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp: Guard with
        PLUGIN_ARCHITECTURE(X11).

        * WebKit2.pro: Add NetscapePluginModuleNone.cpp and NetscapePluginNone.cpp
        to the build system.

        * WebProcess/Plugins/Netscape/NetscapePluginNone.cpp: Added.
        Stubbed implementation
        (WebKit::NetscapePlugin::platformPostInitialize):
        (WebKit::NetscapePlugin::platformDestroy):
        (WebKit::NetscapePlugin::platformInvalidate):
        (WebKit::NetscapePlugin::platformGeometryDidChange):
        (WebKit::NetscapePlugin::platformPaint):
        (WebKit::NetscapePlugin::platformHandleMouseEvent):
        (WebKit::NetscapePlugin::platformHandleWheelEvent):
        (WebKit::NetscapePlugin::platformSetFocus):
        (WebKit::NetscapePlugin::platformHandleMouseEnterEvent):
        (WebKit::NetscapePlugin::platformHandleMouseLeaveEvent):
        (WebKit::NetscapePlugin::platformHandleKeyboardEvent):

        * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp: Guard with
        PLUGIN_ARCHITECTURE(X11)

        * config.h: Introduce PLUGIN_ARCHITECTURE(UNSUPPORTED) as another
        option. Make platform and OS combinations that are not supported
        yet fall into this. Don't use Q_WS_X11 to test the window system
        for Qt because it is not defined without including <QtGlobal>.
        No clue about how could it work so far.

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

9 years ago2011-03-31 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 31 Mar 2011 14:40:07 +0000 (14:40 +0000)]
2011-03-31  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, fix expectation files names after r82573.

        * platform/chromium-gpu-linux/compositing/geometry/clipping-foreground-actual.checksum: Removed.
        * platform/chromium-gpu-linux/compositing/geometry/clipping-foreground-expected.png: Renamed from LayoutTests/platform/chromium-gpu-linux/compositing/geometry/clipping-foreground-actual.png.
        * platform/chromium-gpu-linux/compositing/iframes/composited-iframe-alignment-actual.checksum: Removed.
        * platform/chromium-gpu-linux/compositing/iframes/composited-iframe-alignment-expected.png: Renamed from LayoutTests/platform/chromium-gpu-linux/compositing/iframes/composited-iframe-alignment-actual.png.

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

9 years ago2011-03-31 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 31 Mar 2011 14:29:51 +0000 (14:29 +0000)]
2011-03-31  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, mark two canvas tests as TIMEOUT on chromium-gpu

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-03-31 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 31 Mar 2011 14:25:25 +0000 (14:25 +0000)]
2011-03-31  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK rebaseline of a bidi svg test.

        * platform/gtk/svg/text/bidi-embedded-direction-expected.txt:

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

9 years ago2011-03-31 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 31 Mar 2011 14:11:26 +0000 (14:11 +0000)]
2011-03-31  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, update chromium-gpu-linux compositing expectations.

        * platform/chromium-gpu-linux/compositing/geometry/clipping-foreground-actual.checksum: Added.
        * platform/chromium-gpu-linux/compositing/geometry/clipping-foreground-actual.png: Added.
        * platform/chromium-gpu-linux/compositing/iframes/composited-iframe-alignment-actual.checksum: Added.
        * platform/chromium-gpu-linux/compositing/iframes/composited-iframe-alignment-actual.png: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-03-31 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 31 Mar 2011 13:53:57 +0000 (13:53 +0000)]
2011-03-31  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK rebaseline of 2 tests.

        * platform/gtk/fast/borders/rtl-border-04-expected.txt:
        * platform/gtk/fast/borders/rtl-border-05-expected.txt:

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

9 years ago2011-03-31 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Thu, 31 Mar 2011 13:24:54 +0000 (13:24 +0000)]
2011-03-31  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r82565.
        http://trac.webkit.org/changeset/82565
        https://bugs.webkit.org/show_bug.cgi?id=57541

        Caused assertion failures. (Requested by bbandix on #webkit).

        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop-expected.checksum: Removed.
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop-expected.png: Removed.
        * platform/mac/svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.checksum: Removed.
        * platform/mac/svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.png: Removed.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.checksum: Removed.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.png: Removed.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.checksum: Removed.
        * platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.png: Removed.
        * svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop-expected.txt: Removed.
        * svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop.html: Removed.
        * svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.txt: Removed.
        * svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color.html: Removed.
        * svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.txt: Removed.
        * svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop.html: Removed.
        * svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.txt: Removed.
        * svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop.html: Removed.
        * svg/dynamic-updates/script-tests/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop.js: Removed.
        * svg/dynamic-updates/script-tests/SVGFEFloodElement-inherit-flood-color-css-prop.js: Removed.
        * svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-inherit-lighting-color-css-prop.js: Removed.
        * svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-lighting-color-css-prop.js: Removed.
2011-03-31  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r82565.
        http://trac.webkit.org/changeset/82565
        https://bugs.webkit.org/show_bug.cgi?id=57541

        Caused assertion failures. (Requested by bbandix on #webkit).

        * platform/graphics/filters/FEFlood.cpp:
        (WebCore::FEFlood::setFloodColor):
        (WebCore::FEFlood::setFloodOpacity):
        * platform/graphics/filters/FEFlood.h:
        * platform/graphics/filters/FESpecularLighting.cpp:
        (WebCore::FESpecularLighting::setLightingColor):
        * platform/graphics/filters/FESpecularLighting.h:
        * rendering/svg/RenderSVGResourceFilterPrimitive.cpp:
        * rendering/svg/RenderSVGResourceFilterPrimitive.h:
        * rendering/svg/SVGResourcesCache.cpp:
        (WebCore::SVGResourcesCache::clientStyleChanged):
        * svg/SVGFEDiffuseLightingElement.cpp:
        (WebCore::SVGFEDiffuseLightingElement::setFilterEffectAttribute):
        * svg/SVGFEFloodElement.cpp:
        * svg/SVGFEFloodElement.h:
        * svg/SVGFESpecularLightingElement.cpp:
        (WebCore::SVGFESpecularLightingElement::setFilterEffectAttribute):

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

9 years ago2011-03-31 Vamshikrishna.Yellenki <vamshi@motorola.com> and Alejandro G. Castro...
alex@webkit.org [Thu, 31 Mar 2011 12:53:43 +0000 (12:53 +0000)]
2011-03-31  Vamshikrishna.Yellenki  <vamshi@motorola.com> and Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        Implement MiniBrowser for Gtk port.
        https://bugs.webkit.org/show_bug.cgi?id=48512

        Initial implementation of the Gtk MiniBrowser.

        * GNUmakefile.am:

2011-03-31  Vamshikrishna.Yellenki  <vamshi@motorola.com> and Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        Implement MiniBrowser for Gtk port.
        https://bugs.webkit.org/show_bug.cgi?id=48512

        Initial implementation of the Gtk MiniBrowser.

        * MiniBrowser/gtk/GNUmakefile.am: Added.
        * MiniBrowser/gtk/main.c: Added.
        (activateUriEntryCallback):
        (destroyCallback):
        (goBackCallback):
        (goForwardCallback):
        (createToolbar):
        (createWebView):
        (createWindow):
        (argumentToURL):
        (main):

2011-03-31  Vamshikrishna.Yellenki  <vamshi@motorola.com> and Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        Implement MiniBrowser for Gtk port.
        https://bugs.webkit.org/show_bug.cgi?id=48512

        * Shared/API/c/gtk/WKBaseGtk.h: Add the stdbool.h include.

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

9 years ago2011-03-31 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 31 Mar 2011 12:40:42 +0000 (12:40 +0000)]
2011-03-31  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, fix error in chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-03-31 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 31 Mar 2011 12:37:43 +0000 (12:37 +0000)]
2011-03-31  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK baselines for tests added in r82303, r82419,
        r82400 and r82411.

        * platform/gtk/fast/block/float/float-forced-below-other-floats-expected.checksum: Added.
        * platform/gtk/fast/block/float/float-forced-below-other-floats-expected.png: Added.
        * platform/gtk/fast/block/float/float-forced-below-other-floats-expected.txt: Added.
        * platform/gtk/fast/borders/border-radius-inline-flow-expected.checksum: Added.
        * platform/gtk/fast/borders/border-radius-inline-flow-expected.png: Added.
        * platform/gtk/fast/borders/rtl-border-01-expected.checksum: Added.
        * platform/gtk/fast/borders/rtl-border-01-expected.png: Added.
        * platform/gtk/fast/borders/rtl-border-01-expected.txt: Added.
        * platform/gtk/fast/borders/rtl-border-02-expected.checksum: Added.
        * platform/gtk/fast/borders/rtl-border-02-expected.png: Added.
        * platform/gtk/fast/borders/rtl-border-02-expected.txt: Added.
        * platform/gtk/fast/borders/rtl-border-03-expected.checksum: Added.
        * platform/gtk/fast/borders/rtl-border-03-expected.png: Added.
        * platform/gtk/fast/borders/rtl-border-03-expected.txt: Added.
        * platform/gtk/fast/borders/rtl-border-04-expected.checksum: Added.
        * platform/gtk/fast/borders/rtl-border-04-expected.png: Added.
        * platform/gtk/fast/borders/rtl-border-04-expected.txt: Added.
        * platform/gtk/fast/borders/rtl-border-05-expected.checksum: Added.
        * platform/gtk/fast/borders/rtl-border-05-expected.png: Added.
        * platform/gtk/fast/borders/rtl-border-05-expected.txt: Added.
        * platform/gtk/fast/css/h1-in-section-elements-expected.checksum: Added.
        * platform/gtk/fast/css/h1-in-section-elements-expected.png: Added.
        * platform/gtk/fast/css/h1-in-section-elements-expected.txt: Added.
        * platform/gtk/svg/text/bidi-embedded-direction-expected.checksum: Added.
        * platform/gtk/svg/text/bidi-embedded-direction-expected.png: Added.
        * platform/gtk/svg/text/bidi-embedded-direction-expected.txt: Added.

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

9 years ago2011-03-31 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 31 Mar 2011 12:36:17 +0000 (12:36 +0000)]
2011-03-31  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: follow up to XMLViewer change with expectations update.

        * fast/css/dumpAsText/xml-stylesheet-pi-not-in-prolog-expected.txt:
        * svg/hixie/error/dumpAsText/005-expected.txt:

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

9 years agoCSS related SVG*Element changes doesn't require relayout
reni@webkit.org [Thu, 31 Mar 2011 12:33:49 +0000 (12:33 +0000)]
CSS related SVG*Element changes doesn't require relayout
https://bugs.webkit.org/show_bug.cgi?id=56906

Reviewed by Dirk Schulze.

Source/WebCore:

The changes of some CSS related SVGFilter properties e.g. lighting-color, flood-color, flood-opacity
need only repaint. To avoid the default invalidation of filters in SVGResourceCache::clientStyleChange()
we need an early return. So RenderSVGResourceFilterPrimitive::styleDidChange() can handle these properties
via RenderSVGResourceFilter::primitiveAttributeChanged() the same way like we do it for the other SVGAttributes.

Tests: svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop.html
       svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color.html
       svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop.html
       svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop.html

* platform/graphics/filters/FEFlood.cpp:
(WebCore::FEFlood::setFloodColor):
(WebCore::FEFlood::setFloodOpacity):
* platform/graphics/filters/FEFlood.h:
* platform/graphics/filters/FESpecularLighting.cpp:
(WebCore::FESpecularLighting::setLightingColor):
* platform/graphics/filters/FESpecularLighting.h:
* rendering/svg/RenderSVGResourceFilterPrimitive.cpp:
(WebCore::RenderSVGResourceFilterPrimitive::styleDidChange):
* rendering/svg/RenderSVGResourceFilterPrimitive.h:
* rendering/svg/SVGResourcesCache.cpp:
(WebCore::SVGResourcesCache::clientStyleChanged):
* svg/SVGFEDiffuseLightingElement.cpp:
(WebCore::SVGFEDiffuseLightingElement::setFilterEffectAttribute):
* svg/SVGFEFloodElement.cpp:
(WebCore::SVGFEFloodElement::setFilterEffectAttribute):
* svg/SVGFEFloodElement.h:
* svg/SVGFESpecularLightingElement.cpp:
(WebCore::SVGFESpecularLightingElement::setFilterEffectAttribute):

LayoutTests:

Testing inherited CSS related SVG property changes by FEFlood, FESpecularLighting and FEDiffuseLighing filters.
Adding a missing test to check the dynamic update of lighting-color property of FESpecularLighting.
All the other modifications are covered by the existing dyanmic-update tests.

* platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.png: Added.
* svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop.html: Added.
* svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.txt: Added.
* svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color.html: Added.
* svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop.html: Added.
* svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop.html: Added.
* svg/dynamic-updates/script-tests/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFEFloodElement-inherit-flood-color-css-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-inherit-lighting-color-css-prop.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFESpecularLightingElement-lighting-color-css-prop.js: Added.
(executeTest):

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

9 years ago2011-03-31 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 31 Mar 2011 12:08:20 +0000 (12:08 +0000)]
2011-03-31  Pavel Podivilov  <podivilov@chromium.org>

         Unreviewed, remove stale chromium-gpu canvas expectations (see r82521).

        * platform/chromium-gpu-linux/fast/canvas/canvas-text-alignment-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/canvas-text-baseline-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-text-alignment-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-text-baseline-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/gradient-add-second-start-end-stop-expected.txt: Removed.

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

9 years ago2011-03-31 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 31 Mar 2011 12:03:25 +0000 (12:03 +0000)]
2011-03-31  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, mark send-sliced-dragged-file.html as crash pass in chromium.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-03-29 Vsevolod Vlasov <vsevik@chromium.org>
pfeldman@chromium.org [Thu, 31 Mar 2011 11:58:28 +0000 (11:58 +0000)]
2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        XML Viewer: declared namespaces are not rendered.
        https://bugs.webkit.org/show_bug.cgi?id=56262

        XML viewer rewritten on javascript.

        * http/tests/xmlviewer/dumpAsText/wml-expected.txt:
        * http/tests/xmlviewer/dumpAsText/xlink-expected.txt:
        * http/tests/xmlviewer/dumpAsText/xmlviewer-expected.txt:
        * http/tests/xmlviewer/dumpAsText/xul-expected.txt:
        * platform/chromium-linux/http/tests/xmlviewer/dumpAsText/wml-expected.txt: Removed.
        * platform/chromium/http/tests/xmlviewer/dumpAsText/mathml-expected.txt:
2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        XML Viewer: declared namespaces are not rendered.
        https://bugs.webkit.org/show_bug.cgi?id=56262

        XML viewer rewritten on javascript.

        * CMakeLists.txt:
        * DerivedSources.make:
        * GNUmakefile.am:
        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::XMLDocumentParser::doEnd):
        * xml/XMLTreeViewer.cpp:
        (WebCore::XMLTreeViewer::transformDocumentToTreeView):
        * xml/XMLViewer.css: Added.
        * xml/XMLViewer.js: Added.
        * xml/XMLViewer.xsl: Removed.
        * xml/XSLStyleSheet.h:

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

9 years ago2011-03-31 Jaehun Lim <ljaehun.lim@samsung.com>
commit-queue@webkit.org [Thu, 31 Mar 2011 11:36:12 +0000 (11:36 +0000)]
2011-03-31  Jaehun Lim  <ljaehun.lim@samsung.com>

        Unreviewed build fix.

        Fix build break after rolling out r82496
        https://bugs.webkit.org/show_bug.cgi?id=57536

        * platform/efl/RenderThemeEfl.cpp:

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

9 years ago2011-03-31 Andrey Adaikin <aandrey@google.com>
podivilov@chromium.org [Thu, 31 Mar 2011 11:31:16 +0000 (11:31 +0000)]
2011-03-31  Andrey Adaikin  <aandrey@google.com>

        Reviewed by Pavel Feldman.

        Web Inspector: execution line is displayed incorrectly after source editing.
        https://bugs.webkit.org/show_bug.cgi?id=57229

        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._saveViewerState):
        (WebInspector.SourceFrame.prototype._restoreViewerState):
        (WebInspector.SourceFrame.prototype._startEditing):
        (WebInspector.SourceFrame.prototype._endEditing):
        (WebInspector.SourceFrame.prototype._createTextViewer):
        (WebInspector.SourceFrame.prototype.setExecutionLine):
        (WebInspector.SourceFrame.prototype._handleSave.didEditScriptSource):
        (WebInspector.SourceFrame.prototype._handleSave):
        (WebInspector.SourceFrame.prototype._handleRevertEditing):
        * inspector/front-end/TextViewer.js:
        (WebInspector.TextEditorChunkedPanel.prototype.addDecoration):
        (WebInspector.TextEditorChunkedPanel.prototype.removeDecoration):
        (WebInspector.TextEditorMainPanel.prototype.makeLineAChunk):
        (WebInspector.TextEditorMainPanel.prototype._positionToSelection):

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

9 years ago2011-03-31 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 31 Mar 2011 11:28:40 +0000 (11:28 +0000)]
2011-03-31  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, remove stale chromium-gpu canvas expectations (see r82521).

        * platform/chromium-gpu-linux/fast/canvas/arc360-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/canvas-before-css-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/canvas-composite-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/canvas-resize-reset-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/canvas-transforms-during-path-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/canvasDrawingIntoSelf-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/drawImage-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/drawImage-with-globalAlpha-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/fill-stroke-clip-reset-path-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/fillrect-gradient-zero-stops-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/fillrect_gradient-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/image-object-in-canvas-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/image-pattern-rotate-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/patternfill-repeat-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/quadraticCurveTo-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-1-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-2-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-3-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-4-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-5-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-6-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/shadow-offset-7-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/toDataURL-alpha-expected.txt: Removed.
        * platform/chromium-gpu-linux/fast/canvas/zero-size-fill-rect-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/arc360-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-before-css-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-composite-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-empty-image-pattern-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-resize-reset-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-identity-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-infinity-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-multiply-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-nan-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-non-invertible-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-transform-skewed-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvas-transforms-during-path-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/canvasDrawingIntoSelf-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/drawImage-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/drawImage-with-globalAlpha-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/fill-stroke-clip-reset-path-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/fillrect-gradient-zero-stops-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/fillrect_gradient-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/image-object-in-canvas-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/image-pattern-rotate-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/patternfill-repeat-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/quadraticCurveTo-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-1-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-2-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-3-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-4-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-5-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-6-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/shadow-offset-7-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/toDataURL-alpha-expected.txt: Removed.
        * platform/chromium-gpu-win/fast/canvas/zero-size-fill-rect-expected.txt: Removed.

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

9 years ago2011-03-31 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 31 Mar 2011 11:20:02 +0000 (11:20 +0000)]
2011-03-31  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, remove GTK-specific fast/canvas baselines after r82521.

        * platform/gtk/fast/canvas/arc360-expected.txt: Removed.
        * platform/gtk/fast/canvas/canvas-before-css-expected.txt: Removed.
        * platform/gtk/fast/canvas/canvas-composite-expected.txt: Removed.
        * platform/gtk/fast/canvas/canvas-incremental-repaint-2-expected.txt: Removed.
        * platform/gtk/fast/canvas/canvas-incremental-repaint-expected.txt: Removed.
        * platform/gtk/fast/canvas/canvas-resize-reset-expected.txt: Removed.
        * platform/gtk/fast/canvas/canvas-text-alignment-expected.txt: Removed.
        * platform/gtk/fast/canvas/canvas-text-baseline-expected.txt: Removed.
        * platform/gtk/fast/canvas/canvas-transforms-during-path-expected.txt: Removed.
        * platform/gtk/fast/canvas/canvasDrawingIntoSelf-expected.txt: Removed.
        * platform/gtk/fast/canvas/drawImage-expected.txt: Removed.
        * platform/gtk/fast/canvas/drawImage-with-globalAlpha-expected.txt: Removed.
        * platform/gtk/fast/canvas/fill-stroke-clip-reset-path-expected.txt: Removed.
        * platform/gtk/fast/canvas/fillrect-gradient-zero-stops-expected.txt: Removed.
        * platform/gtk/fast/canvas/fillrect_gradient-expected.txt: Removed.
        * platform/gtk/fast/canvas/gradient-add-second-start-end-stop-expected.txt: Removed.
        * platform/gtk/fast/canvas/image-object-in-canvas-expected.txt: Removed.
        * platform/gtk/fast/canvas/image-pattern-rotate-expected.txt: Removed.
        * platform/gtk/fast/canvas/quadraticCurveTo-expected.txt: Removed.
        * platform/gtk/fast/canvas/setWidthResetAfterForcedRender-expected.txt: Removed.
        * platform/gtk/fast/canvas/shadow-offset-1-expected.txt: Removed.
        * platform/gtk/fast/canvas/shadow-offset-2-expected.txt: Removed.
        * platform/gtk/fast/canvas/shadow-offset-3-expected.txt: Removed.
        * platform/gtk/fast/canvas/shadow-offset-4-expected.txt: Removed.
        * platform/gtk/fast/canvas/shadow-offset-5-expected.txt: Removed.
        * platform/gtk/fast/canvas/shadow-offset-6-expected.txt: Removed.
        * platform/gtk/fast/canvas/shadow-offset-7-expected.txt: Removed.
        * platform/gtk/fast/canvas/toDataURL-alpha-expected.txt: Removed.
        * platform/gtk/fast/canvas/zero-size-fill-rect-expected.txt: Removed.

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

9 years ago2011-03-31 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 31 Mar 2011 10:43:24 +0000 (10:43 +0000)]
2011-03-31  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, rebaseline chromium box-shadow tests after r82520.

        * platform/chromium-linux/fast/box-shadow/inset-box-shadows-expected.checksum:
        * platform/chromium-linux/fast/box-shadow/inset-box-shadows-expected.png:
        * platform/chromium-linux/fast/box-shadow/inset-expected.checksum:
        * platform/chromium-linux/fast/box-shadow/inset-expected.png:
        * platform/chromium-linux/fast/box-shadow/spread-expected.checksum:
        * platform/chromium-linux/fast/box-shadow/spread-expected.png:
        * platform/chromium-linux/fast/box-shadow/spread-multiple-inset-expected.checksum: Added.
        * platform/chromium-linux/fast/box-shadow/spread-multiple-inset-expected.png: Added.
        * platform/chromium-linux/fast/box-shadow/spread-multiple-normal-expected.checksum:
        * platform/chromium-linux/fast/box-shadow/spread-multiple-normal-expected.png:
        * platform/chromium-mac/fast/box-shadow/inset-box-shadows-expected.checksum: Added.
        * platform/chromium-mac/fast/box-shadow/inset-box-shadows-expected.png: Added.
        * platform/chromium-mac/fast/box-shadow/inset-expected.checksum: Added.
        * platform/chromium-mac/fast/box-shadow/inset-expected.png: Added.
        * platform/chromium-mac/fast/box-shadow/spread-multiple-inset-expected.checksum: Added.
        * platform/chromium-mac/fast/box-shadow/spread-multiple-inset-expected.png: Added.
        * platform/chromium-win/fast/box-shadow/inset-box-shadows-expected.checksum:
        * platform/chromium-win/fast/box-shadow/inset-box-shadows-expected.png:
        * platform/chromium-win/fast/box-shadow/inset-expected.checksum:
        * platform/chromium-win/fast/box-shadow/inset-expected.png:
        * platform/chromium-win/fast/box-shadow/spread-expected.checksum:
        * platform/chromium-win/fast/box-shadow/spread-expected.png:
        * platform/chromium-win/fast/box-shadow/spread-multiple-inset-expected.checksum: Added.
        * platform/chromium-win/fast/box-shadow/spread-multiple-inset-expected.png: Added.
        * platform/chromium-win/fast/box-shadow/spread-multiple-normal-expected.checksum:
        * platform/chromium-win/fast/box-shadow/spread-multiple-normal-expected.png:

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

9 years ago2011-03-31 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Thu, 31 Mar 2011 10:30:24 +0000 (10:30 +0000)]
2011-03-31  Pavel Podivilov  <podivilov@chromium.org>

        Unreviewed, update chromium expectations after r82521.

        * platform/chromium-win/fast/canvas/arc360-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-before-css-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-composite-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-empty-image-pattern-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-resize-reset-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-transform-identity-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-transform-infinity-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-transform-multiply-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-transform-nan-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-transform-non-invertible-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-transform-skewed-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-transforms-during-path-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvasDrawingIntoSelf-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/drawImage-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/drawImage-with-globalAlpha-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/fill-stroke-clip-reset-path-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/fillrect-gradient-zero-stops-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/fillrect_gradient-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/image-object-in-canvas-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/image-pattern-rotate-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/patternfill-repeat-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/quadraticCurveTo-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/setWidthResetAfterForcedRender-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/shadow-offset-1-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/shadow-offset-2-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/shadow-offset-3-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/shadow-offset-4-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/shadow-offset-5-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/shadow-offset-6-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/shadow-offset-7-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/toDataURL-alpha-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/zero-size-fill-rect-expected.txt: Removed.

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

9 years ago2011-03-30 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Thu, 31 Mar 2011 10:26:48 +0000 (10:26 +0000)]
2011-03-30  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Make the CSStyle "shorthandValues" name-value map an array
        https://bugs.webkit.org/show_bug.cgi?id=57452

        No new tests, as this is a refactoring.

        * inspector/InspectorCSSAgent.cpp:
        * inspector/InspectorStyleSheet.cpp:
        (WebCore::InspectorStyle::populateObjectWithStyleProperties):
        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSStyleDeclaration):
        (WebInspector.CSSStyleDeclaration.buildShorthandValueMap):

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

9 years ago2011-03-30 Steve Block <steveblock@google.com>
steveblock@google.com [Thu, 31 Mar 2011 10:04:33 +0000 (10:04 +0000)]
2011-03-30  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        JavaField should not expose JavaString in its API
        https://bugs.webkit.org/show_bug.cgi?id=55766

        This patch fixes JavaField for V8 only.
        - Factors out a JavaField interface which does not use JNI types.
          This will allow the Java bridge to be used with objects that
          don't use JNI directly. The existing jobject-backed
          implementation is moved to a new JavaFieldJobject class which
          implements the interface.
        - Use WTF::String in place of JavaString in the API, as JavaString
          exposes JNI types in its interface.

        No new tests, refactoring only.

        * Android.v8bindings.mk:
        * WebCore.gypi:
        * bridge/jni/JavaMethod.h:
        (JSC::Bindings::JavaMethod::~JavaMethod):
        * bridge/jni/JobjectWrapper.h:
        * bridge/jni/v8/JavaClassV8.cpp:
        (JavaClass::JavaClass):
        * bridge/jni/v8/JavaFieldJobjectV8.cpp:
        (JavaFieldJobject::JavaFieldJobject):
        * bridge/jni/v8/JavaFieldJobjectV8.h:
        (JSC::Bindings::JavaFieldJobject::name):
        (JSC::Bindings::JavaFieldJobject::typeClassName):
        (JSC::Bindings::JavaFieldJobject::type):
        * bridge/jni/v8/JavaFieldV8.h:
        (JSC::Bindings::JavaField::~JavaField):
        * bridge/jni/v8/JavaInstanceV8.cpp:
        (JavaInstance::getField):

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

9 years agoUnreviewed, rolling out r82496 and its 8 follow-up build fixes:
philn@webkit.org [Thu, 31 Mar 2011 09:55:00 +0000 (09:55 +0000)]
Unreviewed, rolling out r82496 and its 8 follow-up build fixes:
r82504, r82513, r82541, r82544, r82548, r82549, r82526, r82551

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

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

9 years ago2011-03-31 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Thu, 31 Mar 2011 09:48:31 +0000 (09:48 +0000)]
2011-03-31  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Ryosuke Niwa.

        Clean up from r82447.
        https://bugs.webkit.org/attachment.cgi?bugid=57532

        No new tests since this doesn't change behavior.

        * rendering/RenderBlock.cpp: Removing unnecessary visible_units.h include.
        * rendering/RootInlineBox.cpp:
        (WebCore::RootInlineBox::getLogicalStartBoxWithNode): Making const.
        (WebCore::RootInlineBox::getLogicalEndBoxWithNode): Ditto.
        * rendering/RootInlineBox.h:

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

9 years ago2011-03-31 Jaehun Lim <ljaehun.lim@samsung.com>
commit-queue@webkit.org [Thu, 31 Mar 2011 08:49:00 +0000 (08:49 +0000)]
2011-03-31  Jaehun Lim  <ljaehun.lim@samsung.com>

        Unreviewed build fix for EFL

        After r55150, EFL build has failed.
        PlatformContextCairo.cpp is added into CMakeListsEfl.txt
        https://bugs.webkit.org/show_bug.cgi?id=57526

        No need to test

        * CMakeListsEfl.txt: Add PlatformContextCairo.cpp

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

9 years ago2011-03-31 Benjamin Kalman <kalman@chromium.org>
kalman@chromium.org [Thu, 31 Mar 2011 07:38:10 +0000 (07:38 +0000)]
2011-03-31  Benjamin Kalman  <kalman@chromium.org>

        Reviewed by Ojan Vafai.

        DeleteSelectionCommand::removeNode tries to insert block placeholder in non-editable table cell positions
        https://bugs.webkit.org/show_bug.cgi?id=57079

        Add regression test.

        * editing/execCommand/delete-table-with-empty-contents-expected.txt: Added.
        * editing/execCommand/delete-table-with-empty-contents.html: Added.
2011-03-31  Benjamin Kalman  <kalman@chromium.org>

        Reviewed by Ojan Vafai.

        DeleteSelectionCommand::removeNode tries to insert block placeholder in non-editable table cell positions
        https://bugs.webkit.org/show_bug.cgi?id=57079

        Test: editing/execCommand/delete-table-with-empty-contents.html

        This bug results in an ASSERT fail in CompositeEditCommand::insertNodeAt, so is only observable in debug builds
        of WebKit.

        * editing/DeleteSelectionCommand.cpp:
        (WebCore::firstEditablePositionInNode):
        (WebCore::DeleteSelectionCommand::removeNode): Use firstEditablePositionInNode rather than firstPositionInNode
        to find anchor node for the placeholder's position, if any.

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

9 years agoUnreviewed build correction after r82496. (Part 3)
bfulgham@webkit.org [Thu, 31 Mar 2011 06:04:10 +0000 (06:04 +0000)]
Unreviewed build correction after r82496. (Part 3)

Revise DragImageCairoWin to address new PlatformGraphicsContext
and object lifecycle.

* platform/win/DragImageCairoWin.cpp:
(WebCore::deallocContext):
(WebCore::allocImage):
(WebCore::scaleDragImage):
(WebCore::createDragImageFromImage):

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

9 years agoUnreviewed build correction after r82496. (Part 2)
bfulgham@webkit.org [Thu, 31 Mar 2011 05:50:40 +0000 (05:50 +0000)]
Unreviewed build correction after r82496. (Part 2)

Revise DragImageCairoWin to address new PlatformGraphicsContext.

* platform/win/DragImageCairoWin.cpp:
(WebCore::deallocContext):
(WebCore::allocImage):

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

9 years agoAdding fast/dom/HTMLKeygenElement/keygen.html to mac-wk2 Skipped list
weinig@apple.com [Thu, 31 Mar 2011 05:48:05 +0000 (05:48 +0000)]
Adding fast/dom/HTMLKeygenElement/keygen.html to mac-wk2 Skipped list
since it requires layoutTestController.shadowRoot, which is unimplemented.

* platform/mac-wk2/Skipped:

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

9 years ago2011-03-30 Dominic Cooney <dominicc@google.com>
commit-queue@webkit.org [Thu, 31 Mar 2011 05:21:31 +0000 (05:21 +0000)]
2011-03-30  Dominic Cooney  <dominicc@google.com>

        Reviewed by Alexey Proskuryakov.

        Remove actual test output from test tree.
        https://bugs.webkit.org/show_bug.cgi?id=57503

        * platform/chromium-linux/websocket/tests/bad-sub-protocol-actual.txt: Removed.
        * platform/chromium-linux/websocket/tests/url-parsing-actual.txt: Removed.

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

9 years ago2011-03-30 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Thu, 31 Mar 2011 05:17:28 +0000 (05:17 +0000)]
2011-03-30  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Adam Roben.

        REGRESSION (r82400): Leaks seen beneath CSSParser::createFloatingVectorSelector when parsing UA stylesheet
        https://bugs.webkit.org/show_bug.cgi?id=57478

        * css/CSSGrammar.y:
        * css/CSSParser.cpp:
        (WebCore::CSSParser::sinkFloatingSelectorVector):
        * css/CSSParser.h:

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

9 years agoUnreviewed build correction after r82496.
bfulgham@webkit.org [Thu, 31 Mar 2011 05:02:14 +0000 (05:02 +0000)]
Unreviewed build correction after r82496.

* WebCore.vcproj/WebCore.vcproj: Add new PlatformContextCairo
files to WinCairo build.  Exclude from standard Apple build.

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

9 years ago<rdar://problem/9005982> Flash of white when a WKView with composited content moves...
mitz@apple.com [Thu, 31 Mar 2011 03:57:27 +0000 (03:57 +0000)]
<rdar://problem/9005982> Flash of white when a WKView with composited content moves on-screen
https://bugs.webkit.org/show_bug.cgi?id=57522

Reviewed by Maciej Stachowiak.

* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::exitAcceleratedCompositingMode): Invalidate the current
backing store state, so that we get an update as soon as the page enters compositing mode
next.
* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::sendDidUpdateBackingStoreState): Added a call to
LayerTreeHost::forceRepaint() in order to flush and synchronize the layers
before sending the update message to the UI process.

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

9 years ago[Qt] Typo fix, remove an accidentally added line.
ossy@webkit.org [Thu, 31 Mar 2011 03:48:34 +0000 (03:48 +0000)]
[Qt] Typo fix, remove an accidentally added line.

* Source/WebKit.pri:

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

9 years ago2011-03-30 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Thu, 31 Mar 2011 03:46:54 +0000 (03:46 +0000)]
2011-03-30  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Martin Robinson.

        [GTK] Fix leaked pointer in FontGtk.cpp
        https://bugs.webkit.org/show_bug.cgi?id=57307

        Fix a memory leak.

        No new functionality, so no new tests.

        * platform/graphics/gtk/FontGtk.cpp:
        (WebCore::utf16ToUtf8): Rename utf16_to_utf8 and fix indentation.
        (WebCore::convertUniCharToUTF8):

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

9 years ago2011-03-30 David Levin <levin@chromium.org>
levin@chromium.org [Thu, 31 Mar 2011 03:24:49 +0000 (03:24 +0000)]
2011-03-30  David Levin  <levin@chromium.org>

        Reviewed by Dmitry Titov.

        UnlockNonLocked condition reached in WorkerFileSystemsCallbackBridge::mayPostTaskToWorker
        https://bugs.webkit.org/show_bug.cgi?id=57382

        There were two issues to address:
        1. The use of a non-thread safe class (RefPtr) in a ThreadSafeRefCounted class.
           The problem was that this RefPtr could be changed on either thread.
        2. Keeping WorkerFileSystemCallbacksBridge alive for while it was being used
           including while its mutex was in use.

        * src/WorkerFileSystemCallbacksBridge.cpp:
        (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnMainThread):
        Changed to take a PassRefPtr and leak the ref count as opposed to relying on
        dispatchTaskToMainThread to store the pointer in m_selfRef.
        (WebKit::WorkerFileSystemCallbacksBridge::dispatchTaskToMainThread): Remove the
        m_selfRef and hand off a PassRefPtr instead.
        (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker): Balance out the leaked ref
        and ensure that WorkerFileSystemCallbacksBridge stays alive while the mutex is held.
        * src/WorkerFileSystemCallbacksBridge.h: Removed m_selfRef and derefIfWorkerIsStopped which
          was simply due to m_selfRef.

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

9 years ago[Qt] Rollout r82240 and r82232, because they broke 2 plugin tests.
ossy@webkit.org [Thu, 31 Mar 2011 03:21:54 +0000 (03:21 +0000)]
[Qt] Rollout r82240 and r82232, because they broke 2 plugin tests.

* Source/WebKit.pri:

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

9 years ago2011-03-30 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Thu, 31 Mar 2011 03:19:56 +0000 (03:19 +0000)]
2011-03-30  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed, remove Chromium test expectations for two bugs that are known to be fixed.

        * platform/chromium/test_expectations.txt:

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

9 years agoRemove unnecessary Qt specific fast/canvas expected files after r82521.
ossy@webkit.org [Thu, 31 Mar 2011 02:42:13 +0000 (02:42 +0000)]
Remove unnecessary Qt specific fast/canvas expected files after r82521.

* platform/qt/fast/canvas/arc360-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-before-css-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-composite-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-empty-image-pattern-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-incremental-repaint-2-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-resize-reset-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-text-alignment-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-text-baseline-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-transform-identity-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-transform-infinity-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-transform-multiply-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-transform-nan-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-transform-non-invertible-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-transform-skewed-expected.txt: Removed.
* platform/qt/fast/canvas/canvas-transforms-during-path-expected.txt: Removed.
* platform/qt/fast/canvas/canvasDrawingIntoSelf-expected.txt: Removed.
* platform/qt/fast/canvas/drawImage-expected.txt: Removed.
* platform/qt/fast/canvas/drawImage-with-globalAlpha-expected.txt: Removed.
* platform/qt/fast/canvas/fill-stroke-clip-reset-path-expected.txt: Removed.
* platform/qt/fast/canvas/fillrect-gradient-zero-stops-expected.txt: Removed.
* platform/qt/fast/canvas/fillrect_gradient-expected.txt: Removed.
* platform/qt/fast/canvas/gradient-add-second-start-end-stop-expected.txt: Removed.
* platform/qt/fast/canvas/image-object-in-canvas-expected.txt: Removed.
* platform/qt/fast/canvas/image-pattern-rotate-expected.txt: Removed.
* platform/qt/fast/canvas/patternfill-repeat-expected.txt: Removed.
* platform/qt/fast/canvas/quadraticCurveTo-expected.txt: Removed.
* platform/qt/fast/canvas/setWidthResetAfterForcedRender-expected.txt: Removed.
* platform/qt/fast/canvas/shadow-offset-1-expected.txt: Removed.
* platform/qt/fast/canvas/shadow-offset-2-expected.txt: Removed.
* platform/qt/fast/canvas/shadow-offset-3-expected.txt: Removed.
* platform/qt/fast/canvas/shadow-offset-4-expected.txt: Removed.
* platform/qt/fast/canvas/shadow-offset-5-expected.txt: Removed.
* platform/qt/fast/canvas/shadow-offset-6-expected.txt: Removed.
* platform/qt/fast/canvas/shadow-offset-7-expected.txt: Removed.
* platform/qt/fast/canvas/toDataURL-alpha-expected.txt: Removed.
* platform/qt/fast/canvas/zero-size-fill-rect-expected.txt: Removed.

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

9 years ago2011-03-30 Dominic Cooney <dominicc@google.com>
commit-queue@webkit.org [Thu, 31 Mar 2011 02:33:46 +0000 (02:33 +0000)]
2011-03-30  Dominic Cooney  <dominicc@google.com>

        Reviewed by Dimitri Glazkov.

        Adds layoutTestController.shadowRoot accessor to Mac DRT.
        https://bugs.webkit.org/show_bug.cgi?id=57415

        Updates the keygen test to exercise new DRT functionality; skips
        on other ports for now.

        * fast/dom/HTMLKeygenElement/keygen-expected.txt:
        * fast/dom/HTMLKeygenElement/keygen.html:
        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:
2011-03-30  Dominic Cooney  <dominicc@google.com>

        Reviewed by Dimitri Glazkov.

        Adds layoutTestController.shadowRoot accessor to Mac DRT.
        https://bugs.webkit.org/show_bug.cgi?id=57415

        * WebCore.exp.in: DRT needs to link WebCore::Element::shadowRoot
2011-03-30  Dominic Cooney  <dominicc@google.com>

        Reviewed by Dimitri Glazkov.

        Adds layoutTestController.shadowRoot accessor to Mac DRT.
        https://bugs.webkit.org/show_bug.cgi?id=57415

        * DOM/WebDOMOperations.mm:
        (-[DOMElement _shadowRoot:]):
        * DOM/WebDOMOperationsPrivate.h:
2011-03-30  Dominic Cooney  <dominicc@google.com>

        Reviewed by Dimitri Glazkov.

        Adds layoutTestController.shadowRoot accessor to Mac DRT.
        https://bugs.webkit.org/show_bug.cgi?id=57415

        * DumpRenderTree/LayoutTestController.cpp:
        (shadowRootCallback):
        (LayoutTestController::staticFunctions):
        * DumpRenderTree/LayoutTestController.h:
        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
        (LayoutTestController::shadowRoot):
        * DumpRenderTree/win/LayoutTestControllerWin.cpp:
        (LayoutTestController::shadowRoot):

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

9 years ago2011-03-30 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 31 Mar 2011 02:25:30 +0000 (02:25 +0000)]
2011-03-30  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Simplify HTMLFormElement::validateInteractively() for asynchronous scroll event
        https://bugs.webkit.org/show_bug.cgi?id=57424

        Remove interactive-validation-lost-focusable.html because it has no
        sense since r75555.

        * fast/forms/interactive-validation-lost-focusable-expected.txt: Removed.
        * fast/forms/interactive-validation-lost-focusable.html: Removed.
        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:
2011-03-30  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Simplify HTMLFormElement::validateInteractively() for asynchronous scroll event
        https://bugs.webkit.org/show_bug.cgi?id=57424

        r75555 made 'scroll' event asynchronous. So we don't need to worry about
        deleting or moving a target node in scrollIntoViewIfNeeded().

        * html/HTMLFormElement.cpp:
        (WebCore::HTMLFormElement::validateInteractively): Remove unnecessary code.

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

9 years ago2011-03-30 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 31 Mar 2011 02:21:33 +0000 (02:21 +0000)]
2011-03-30  Kent Tamura  <tkent@chromium.org>

        Reviewed by Darin Adler.

        REGRESSION (r74895): Crash if input.type = 'file' twice
        https://bugs.webkit.org/show_bug.cgi?id=57343

        * fast/forms/input-type-change3-expected.txt:
        * fast/forms/script-tests/input-type-change3.js: Add a new test.
2011-03-30  Kent Tamura  <tkent@chromium.org>

        Reviewed by Darin Adler.

        REGRESSION (r74895): Crash if input.type = 'file' twice
        https://bugs.webkit.org/show_bug.cgi?id=57343

        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::updateType):
          Don't call setAttribute() if the type is not changed.

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

9 years ago2011-03-30 Jia Pu <jpu@apple.com>
commit-queue@webkit.org [Thu, 31 Mar 2011 02:08:34 +0000 (02:08 +0000)]
2011-03-30  Jia Pu  <jpu@apple.com>

        Reviewed by Darin Adler.

        Autocorrection panel isn't positioned correctly in Safari (mac) when the zooming is not 1x.
        https://bugs.webkit.org/show_bug.cgi?id=57353
        <rdar://problem/9163983>

        Updated following test in response to recent change in AppKit spell checker.

        * platform/mac/editing/spelling/delete-autocorrected-word-1-expected.txt:
        * platform/mac/editing/spelling/delete-autocorrected-word-1.html:
2011-03-30  Jia Pu  <jpu@apple.com>

        Reviewed by Darin Adler.

        Autocorrection panel isn't positioned correctly in Safari (mac) when the zooming is not 1x.
        https://bugs.webkit.org/show_bug.cgi?id=57353
        <rdar://problem/9163983>

        We use Range::textQuads() instead of Range::boundingRect() to compute the position of correction
        panel. The latter function compensates for zooming, which we don't need in this case. We also
        dismiss correction panel when zooming factor is changed. This is done in Frame::setPageAndTextZoomFactors().

        * WebCore.exp.in:
        * dom/Range.cpp:
        (WebCore::Range::textQuads):
        * dom/Range.h:
        * editing/Editor.cpp:
        (WebCore::Editor::windowRectForRange):
        * editing/Editor.h:
        * page/Frame.cpp:
        (WebCore::Frame::setPageAndTextZoomFactors):

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

9 years ago2011-03-30 Chris Guillory <chris.guillory@google.com>
commit-queue@webkit.org [Thu, 31 Mar 2011 01:53:17 +0000 (01:53 +0000)]
2011-03-30  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Dimitri Glazkov.

        Render fonts using skia when requested by platform context.
        https://bugs.webkit.org/show_bug.cgi?id=56441

        * platform/graphics/skia/PlatformContextSkia.cpp:
        (WebCore::PlatformContextSkia::isNativeFontRenderingAllowed):
        * platform/graphics/skia/PlatformContextSkia.h:
        * platform/graphics/skia/SkiaFontWin.cpp:
        (WebCore::windowsCanHandleTextDrawing):
        (WebCore::skiaDrawText):
        (WebCore::setupPaintForFont):
        (WebCore::paintSkiaText):

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

9 years ago2011-03-30 Sam Weinig <sam@webkit.org>
weinig@apple.com [Thu, 31 Mar 2011 01:48:54 +0000 (01:48 +0000)]
2011-03-30  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Sandbox violations if you navigate a file URL via something other than a click
        <rdar://problem/9016086>
        https://bugs.webkit.org/show_bug.cgi?id=57519

        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::shouldReuseCommittedSandboxExtension):
        Remove unnecessary restriction on extension reuse. Any type of file to file navigation
        should be allowed.

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

9 years ago2011-03-30 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 31 Mar 2011 01:45:22 +0000 (01:45 +0000)]
2011-03-30  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Clean up the sandbox parameter code
        https://bugs.webkit.org/show_bug.cgi?id=57518

        * Shared/WebProcessCreationParameters.h:
        Make nsURLCachePath and uiProcessBundleResourcePath Strings to match the other paths we send over.

        * UIProcess/mac/WebContextMac.mm:
        (WebKit::WebContext::platformInitializeWebProcess):
        nsURLCachePath and uiProcessBundleResourcePath are now Strings.

        * WebProcess/mac/WebProcessMac.mm:
        (WebKit::appendSandboxParameterPathInternal):
        (WebKit::appendReadwriteConfDirectory):
        (WebKit::appendReadonlySandboxDirectory):
        (WebKit::appendReadwriteSandboxDirectory):
        (WebKit::initializeSandbox):
        Make it more clear whether the directories we're adding are readonly or readwrite. No functionality change.

        (WebKit::WebProcess::platformInitializeWebProcess):
        nsURLCachePath is now a string.

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

9 years ago<rdar://problem/9199518> Crash when focusing a styled editable element
mitz@apple.com [Thu, 31 Mar 2011 01:32:21 +0000 (01:32 +0000)]
<rdar://problem/9199518> Crash when focusing a styled editable element

Reviewed by Darin Adler.

Source/WebCore:

Test: editing/deleting/delete-button-background-image-none.html

* editing/DeleteButtonController.cpp:
(WebCore::isDeletableElement): Check all background layers for background images.
* rendering/style/RenderStyle.h: Removed backgroundImage() as it was only used, incorrectly,
in the above function.

LayoutTests:

* editing/deleting/delete-button-background-image-none-expected.txt: Added.
* editing/deleting/delete-button-background-image-none.html: Added.

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

9 years ago2011-03-30 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 31 Mar 2011 01:14:03 +0000 (01:14 +0000)]
2011-03-30  Martin Robinson  <mrobinson@igalia.com>

        Try once more to fix the EFL build.

        * platform/efl/RenderThemeEfl.cpp:

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

9 years ago2011-03-30 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Thu, 31 Mar 2011 01:11:27 +0000 (01:11 +0000)]
2011-03-30  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Downloading a file fails due to a sandbox violation if the destination path is a symlink
        https://bugs.webkit.org/show_bug.cgi?id=57517
        <rdar://problem/8943865>

        Make sure to resolve any symlinks in the given path when creating a sandbox extension handle.
        Note that we can't use realpath or -[NSString stringByResolvingSymlinksInPath], because those calls
        will fail if the pointed to file doesn't exist.

        * Shared/mac/SandboxExtensionMac.mm:
        (WebKit::resolveSymlinksInPath):
        New function that resolves all the symlinks in the given path.

        (WebKit::SandboxExtension::createHandle):
        Call resolveSymlinksInPath on the resulting path.

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

9 years ago2011-03-30 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 31 Mar 2011 01:06:24 +0000 (01:06 +0000)]
2011-03-30  Martin Robinson  <mrobinson@igalia.com>

        Fix the GTK+ WebKit2 build.

        * Shared/WebGraphicsContext.cpp:
        (WebKit::WebGraphicsContext::WebGraphicsContext):
        * WebProcess/WebPage/gtk/WebPageGtk.cpp:
        (WebKit::WebPage::platformCanHandleRequest):

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

9 years agoRegression: VO cursor doesn't follow KB focus back into HTML view
cfleizach@apple.com [Thu, 31 Mar 2011 00:44:39 +0000 (00:44 +0000)]
Regression: VO cursor doesn't follow KB focus back into HTML view
https://bugs.webkit.org/show_bug.cgi?id=57509

Reviewed by Darin Adler.

In WK2, because the web area never believes focus leave the area, sending the initial
focus change when moving back into the web area, does not trigger a notification.

That behavior needs to be overridden by explicitly posting a focused UI element change
at the appropriate time. This is only used in WK2, hence the absence of a layout test for now.

* page/FocusController.cpp:
(WebCore::FocusController::setInitialFocus):

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

9 years ago Reviewed by Darin Adler.
ap@apple.com [Thu, 31 Mar 2011 00:11:30 +0000 (00:11 +0000)]
    Reviewed by Darin Adler.

        WebHTMLView shouldn't resend noop: commands
        https://bugs.webkit.org/show_bug.cgi?id=57504
        <rdar://problem/9209390>

        * WebView/WebHTMLView.mm: (-[WebHTMLView _executeSavedEditingCommands]): Filter out NOOPs,
        which we get e.g. when handling Cmd-key combos.

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

9 years ago2011-03-30 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 31 Mar 2011 00:11:04 +0000 (00:11 +0000)]
2011-03-30  Mihai Parparita  <mihaip@chromium.org>

        Fix expected svg/ failures for Chromium Snow Leopard.

        * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/animate-elem-36-t-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.checksum.
        * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png.
        * platform/chromium-mac-leopard/svg/custom/dynamic-svg-document-creation-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/dynamic-svg-document-creation-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/feComponentTransfer-Discrete-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/feComponentTransfer-Discrete-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/feComponentTransfer-Gamma-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/feComponentTransfer-Gamma-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/feComponentTransfer-Linear-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/feComponentTransfer-Linear-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/feComponentTransfer-Table-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/feComponentTransfer-Table-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/foreign-object-skew-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/foreign-object-skew-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/glyph-transformation-with-hkern-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/glyph-transformation-with-hkern-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/gradient-rotated-bbox-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/gradient-rotated-bbox-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/grayscale-gradient-mask-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/grayscale-gradient-mask-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/js-late-gradient-creation-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/js-late-gradient-creation-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/js-late-pattern-and-object-creation-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/js-late-pattern-and-object-creation-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/js-late-pattern-creation-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/js-late-pattern-creation-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/non-scaling-stroke-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/non-scaling-stroke-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/pattern-skew-transformed-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/pattern-skew-transformed-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/pattern-with-transformation-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/pattern-with-transformation-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/preserve-aspect-ratio-syntax-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/preserve-aspect-ratio-syntax-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/resource-invalidate-on-target-update-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/resource-invalidate-on-target-update-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/shapes-supporting-markers-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/shapes-supporting-markers-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/svg-curve-with-relative-cordinates-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/custom/svg-curve-with-relative-cordinates-expected.checksum.
        * platform/chromium-mac-leopard/svg/custom/svg-curve-with-relative-cordinates-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/custom/svg-curve-with-relative-cordinates-expected.png.
        * platform/chromium-mac-leopard/svg/custom/svg-fonts-with-no-element-reference-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/svg-fonts-with-no-element-reference-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/use-on-clip-path-with-transformation-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/use-on-clip-path-with-transformation-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/viewbox-syntax-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/custom/viewbox-syntax-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.checksum.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.checksum.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.checksum.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.checksum.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.checksum.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.checksum.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png.
        * platform/chromium-mac-leopard/svg/filters/feDisplacementMap-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/filters/feDisplacementMap-expected.checksum.
        * platform/chromium-mac-leopard/svg/filters/feDisplacementMap-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/filters/feDisplacementMap-expected.png.
        * platform/chromium-mac-leopard/svg/hixie/mixed/006-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/hixie/mixed/006-expected.checksum.
        * platform/chromium-mac-leopard/svg/hixie/mixed/006-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/hixie/mixed/006-expected.png.
        * platform/chromium-mac-leopard/svg/hixie/mixed/008-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/hixie/mixed/008-expected.checksum.
        * platform/chromium-mac-leopard/svg/hixie/mixed/008-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/hixie/mixed/008-expected.png.
        * platform/chromium-mac-leopard/svg/hixie/mixed/011-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/hixie/mixed/011-expected.checksum.
        * platform/chromium-mac-leopard/svg/hixie/mixed/011-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/hixie/mixed/011-expected.png.
        * platform/chromium-mac-leopard/svg/text/text-intro-05-t-expected.checksum: Copied from LayoutTests/platform/chromium-mac/svg/text/text-intro-05-t-expected.checksum.
        * platform/chromium-mac-leopard/svg/text/text-intro-05-t-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/text/text-intro-05-t-expected.png.
        * platform/chromium-mac-leopard/svg/zoom/page/zoom-foreignObject-expected.checksum: Added.
        * platform/chromium-mac-leopard/svg/zoom/page/zoom-foreignObject-expected.png: Added.
        * platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.checksum:
        * platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png:
        * platform/chromium-mac/svg/custom/dynamic-svg-document-creation-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/dynamic-svg-document-creation-expected.png: Added.
        * platform/chromium-mac/svg/custom/feComponentTransfer-Discrete-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/feComponentTransfer-Discrete-expected.png: Added.
        * platform/chromium-mac/svg/custom/feComponentTransfer-Gamma-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/feComponentTransfer-Gamma-expected.png: Added.
        * platform/chromium-mac/svg/custom/feComponentTransfer-Linear-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/feComponentTransfer-Linear-expected.png: Added.
        * platform/chromium-mac/svg/custom/feComponentTransfer-Table-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/feComponentTransfer-Table-expected.png: Added.
        * platform/chromium-mac/svg/custom/foreign-object-skew-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/foreign-object-skew-expected.png: Added.
        * platform/chromium-mac/svg/custom/glyph-transformation-with-hkern-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/glyph-transformation-with-hkern-expected.png: Added.
        * platform/chromium-mac/svg/custom/gradient-rotated-bbox-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/gradient-rotated-bbox-expected.png: Added.
        * platform/chromium-mac/svg/custom/grayscale-gradient-mask-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/grayscale-gradient-mask-expected.png: Added.
        * platform/chromium-mac/svg/custom/inline-svg-in-xhtml-expected.checksum:
        * platform/chromium-mac/svg/custom/inline-svg-in-xhtml-expected.png:
        * platform/chromium-mac/svg/custom/js-late-gradient-and-object-creation-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/js-late-gradient-and-object-creation-expected.png: Added.
        * platform/chromium-mac/svg/custom/js-late-gradient-creation-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/js-late-gradient-creation-expected.png: Added.
        * platform/chromium-mac/svg/custom/js-late-pattern-and-object-creation-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/js-late-pattern-and-object-creation-expected.png: Added.
        * platform/chromium-mac/svg/custom/js-late-pattern-creation-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/js-late-pattern-creation-expected.png: Added.
        * platform/chromium-mac/svg/custom/non-scaling-stroke-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/non-scaling-stroke-expected.png: Added.
        * platform/chromium-mac/svg/custom/pattern-skew-transformed-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/pattern-skew-transformed-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/filters/feDisplacementMap-expected.png.
        * platform/chromium-mac/svg/custom/pattern-with-transformation-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/pattern-with-transformation-expected.png: Added.
        * platform/chromium-mac/svg/custom/preserve-aspect-ratio-syntax-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/preserve-aspect-ratio-syntax-expected.png: Added.
        * platform/chromium-mac/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png: Added.
        * platform/chromium-mac/svg/custom/resource-invalidate-on-target-update-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/resource-invalidate-on-target-update-expected.png: Added.
        * platform/chromium-mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.checksum:
        * platform/chromium-mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
        * platform/chromium-mac/svg/custom/shapes-supporting-markers-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/shapes-supporting-markers-expected.png: Added.
        * platform/chromium-mac/svg/custom/svg-curve-with-relative-cordinates-expected.checksum:
        * platform/chromium-mac/svg/custom/svg-curve-with-relative-cordinates-expected.png:
        * platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.checksum:
        * platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.png:
        * platform/chromium-mac/svg/custom/svg-fonts-with-no-element-reference-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/svg-fonts-with-no-element-reference-expected.png: Added.
        * platform/chromium-mac/svg/custom/text-rotated-gradient-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/text-rotated-gradient-expected.png: Added.
        * platform/chromium-mac/svg/custom/use-detach-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/use-detach-expected.png: Added.
        * platform/chromium-mac/svg/custom/use-on-clip-path-with-transformation-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/use-on-clip-path-with-transformation-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/filters/feDisplacementMap-expected.png.
        * platform/chromium-mac/svg/custom/viewbox-syntax-expected.checksum: Added.
        * platform/chromium-mac/svg/custom/viewbox-syntax-expected.png: Added.
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.checksum:
        * platform/chromium-mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png:
        * platform/chromium-mac/svg/filters/feDisplacementMap-expected.checksum:
        * platform/chromium-mac/svg/filters/feDisplacementMap-expected.png:
        * platform/chromium-mac/svg/hixie/mixed/003-expected.checksum:
        * platform/chromium-mac/svg/hixie/mixed/003-expected.png:
        * platform/chromium-mac/svg/hixie/mixed/006-expected.checksum:
        * platform/chromium-mac/svg/hixie/mixed/006-expected.png:
        * platform/chromium-mac/svg/hixie/mixed/008-expected.checksum:
        * platform/chromium-mac/svg/hixie/mixed/008-expected.png:
        * platform/chromium-mac/svg/hixie/mixed/011-expected.checksum:
        * platform/chromium-mac/svg/hixie/mixed/011-expected.png:
        * platform/chromium-mac/svg/text/text-intro-05-t-expected.checksum:
        * platform/chromium-mac/svg/text/text-intro-05-t-expected.png:
        * platform/chromium-mac/svg/zoom/page/zoom-foreignObject-expected.checksum: Added.
        * platform/chromium-mac/svg/zoom/page/zoom-foreignObject-expected.png: Added.
        * platform/chromium-mac/svg/zoom/page/zoom-mask-with-percentages-expected.checksum: Added.
        * platform/chromium-mac/svg/zoom/page/zoom-mask-with-percentages-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

9 years agoClean build fix
aroben@apple.com [Thu, 31 Mar 2011 00:01:24 +0000 (00:01 +0000)]
Clean build fix

* JavaScriptCore.vcproj/JavaScriptCore.sln: Serialized project dependencies so projects
don't try to build in parallel (which doesn't mesh with our buildfailed mechanism).

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

9 years ago2011-03-30 Matthew Delaney <mdelaney@apple.com>
mdelaney@apple.com [Thu, 31 Mar 2011 00:00:59 +0000 (00:00 +0000)]
2011-03-30  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Chris Marrin.

        Update fast/canvas tests to avoid dumping the render tree when possible
        https://bugs.webkit.org/show_bug.cgi?id=57493

        * DumpRenderTree/mac/DumpRenderTree.mm: Make DRT aware of new default values for
          accelerated drawing and accelerated drawing for canvas
2011-03-30  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Chris Marrin.

        Update fast/canvas tests to avoid dumping the render tree when possible
        https://bugs.webkit.org/show_bug.cgi?id=57493

        * fast/canvas/<various tests>: Added new expectations.
        * platform/mac/fast/canvas/<various tests>: Removed old expectations with Render Tree printouts.

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

9 years ago2011-03-30 MORITA Hajime <morrita@google.com>
morrita@google.com [Wed, 30 Mar 2011 23:56:12 +0000 (23:56 +0000)]
2011-03-30  MORITA Hajime  <morrita@google.com>

        box-shadow radii stays the same regardless of any spread set
        https://bugs.webkit.org/show_bug.cgi?id=49726

        - Added test for multiple inset shadows.
        - Updated wrong expectations which are fixed by this change.
        - Moved some expectation file location to platform/mac because they don't match
          against non-mac platform results due to the difference between graphics backends.

        * fast/box-shadow/spread-multiple-inset-expected.txt: Added.
        * fast/box-shadow/spread-multiple-inset.html: Added.
        * fast/box-shadow/spread-multiple-normal-expected.checksum: Removed.
        * fast/box-shadow/spread-multiple-normal-expected.png: Removed.
        * fast/box-shadow/spread-multiple-normal.html: Changed to avoid overlapping boxes.
        * platform/mac/fast/box-shadow/spread-expected.checksum:
        * platform/mac/fast/box-shadow/spread-expected.png:
        * platform/mac/fast/box-shadow/spread-multiple-inset-expected.checksum: Added.
        * platform/mac/fast/box-shadow/spread-multiple-inset-expected.png: Added.
        * platform/mac/fast/box-shadow/spread-multiple-normal-expected.checksum: Added.
        * platform/mac/fast/box-shadow/spread-multiple-normal-expected.png: Added.
2011-03-30  MORITA Hajime  <morrita@google.com>

        Reviewed by Simon Fraser.

        box-shadow radii stays the same regardless of any spread set
        https://bugs.webkit.org/show_bug.cgi?id=49726

        - Removed special shadowSpread handling path
        - Fixed broken multple inset shadow border computation.

        Test: fast/box-shadow/spread-multiple-inset.html

        * rendering/RenderBoxModelObject.cpp:
        (WebCore::RenderBoxModelObject::paintBoxShadow):

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

9 years agoRollout r82500
oliver@apple.com [Wed, 30 Mar 2011 23:53:25 +0000 (23:53 +0000)]
Rollout r82500

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

9 years agoFixed changelong entry typpos.
mdelaney@apple.com [Wed, 30 Mar 2011 23:33:19 +0000 (23:33 +0000)]
Fixed changelong entry typpos.

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

9 years ago2011-03-30 Yi Shen <yi.4.shen@nokia.com>
yi.4.shen@nokia.com [Wed, 30 Mar 2011 23:19:26 +0000 (23:19 +0000)]
2011-03-30  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt][Symbian] Fix Api test failure -- tst_QWebView::focusInputTypes
        https://bugs.webkit.org/show_bug.cgi?id=57020

        Added a macro 'VERIFY_INPUTMETHOD_HINTS' to test inputmethodhints().

        * tests/qwebview/tst_qwebview.cpp:
        (tst_QWebView::focusInputTypes):

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

9 years ago2011-03-29 Matthew Delaney <mdelaney@apple.com>
mdelaney@apple.com [Wed, 30 Mar 2011 23:15:44 +0000 (23:15 +0000)]
2011-03-29  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        Use the Accelerate vImage vectorized (un)premultiplyImageData functions for ImageBufferCG

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

        * wtf/Platform.h: Added in WTF flag for using the Accelerate framework
2011-03-29  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        Use the Accelerate vImage vectorized (un)premultiplyImageData functions for ImageBufferCG

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

        Test: fast/canvas/getPutImageDataPairTest.html

        * platform/graphics/cg/ImageBufferCG.cpp:
2011-03-25  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        Use Accelerate vImage vectorized (un)premultiplyImageData functions for ImageBufferCG.cpp
        https://bugs.webkit.org/show_bug.cgi?id=53134

        * fast/canvas/canvas-getImageData-expected.txt: Resetting expected results for this test due to test change.
        * fast/canvas/canvas-getImageData.html: Removed the section of this test that incorrectly assumes the
          rounding behavior of initial inputed data.
        * fast/canvas/getPutImageDataPairTest-expected.txt: Added.
        * fast/canvas/getPutImageDataPairTest.html: A new test to make sure that a batch of paired putImageData(getImageData)
          calls doesn't accumulate any error per the spec.
        * fast/canvas/rgba-parsing-expected.txt: Reset the results for this test since the initial rgba rounding values are
          now different. Note: the spec does not define how they *should* be rounded, so having them there is basically just
          for bookkeeping to know when our rounding behavior changes since it could be early warning of related real issues.

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

9 years agoShould turn off frame pointer omission (FPO) for Release (not Production) builds
sfalken@apple.com [Wed, 30 Mar 2011 23:04:16 +0000 (23:04 +0000)]
Should turn off frame pointer omission (FPO) for Release (not Production) builds
https://bugs.webkit.org/show_bug.cgi?id=54403

Reviewed by Adam Roben.

Leave it enabled for Windows Production builds.
Disabling this optimization improves stack traces for memory and performance tools like umdh and xperf.

We use both /Oy- and OmitFramePointers="false" since OmitFramePointers="false" isnt' enough
to override /O2.

* win/tools/vsprops/release.vsprops:

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

9 years agoStop ignoring leaks in CGGradientCreateWithColorStops
aroben@apple.com [Wed, 30 Mar 2011 22:58:15 +0000 (22:58 +0000)]
Stop ignoring leaks in CGGradientCreateWithColorStops

Fixes <rdar://problem/7888547>.

Rubber-stamped by John Sullivan.

* Scripts/old-run-webkit-tests:
(countAndPrintLeaks): Removed some code to ignore those leaks.

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

9 years ago2011-03-30 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 30 Mar 2011 22:48:15 +0000 (22:48 +0000)]
2011-03-30  Martin Robinson  <mrobinson@igalia.com>

        Try to fix the WinCairo build.

        * platform/graphics/win/GraphicsContextCairoWin.cpp:
        (WebCore::GraphicsContext::platformInit): Fix misspelling of GraphicsContextPlatformPrivateToplevel.

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

9 years agoShare most vsprops between Release and Production builds in releaseproduction.vsprops
sfalken@apple.com [Wed, 30 Mar 2011 22:43:59 +0000 (22:43 +0000)]
Share most vsprops between Release and Production builds in releaseproduction.vsprops
https://bugs.webkit.org/show_bug.cgi?id=57508

Reviewed by Adam Roben.

Source/JavaScriptCore:

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreProduction.vsprops:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreRelease.vsprops:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleaseCairoCFLite.vsprops:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleasePGO.vsprops:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleasePGOOptimize.vsprops:
* JavaScriptCore.vcproj/WTF/WTFProduction.vsprops:
* JavaScriptCore.vcproj/WTF/WTFRelease.vsprops:
* JavaScriptCore.vcproj/WTF/WTFReleaseCairoCFLite.vsprops:
* JavaScriptCore.vcproj/WTF/WTFReleasePGO.vsprops:
* JavaScriptCore.vcproj/jsc/jscProduction.vsprops:
* JavaScriptCore.vcproj/jsc/jscRelease.vsprops:
* JavaScriptCore.vcproj/jsc/jscReleaseCairoCFLite.vsprops:
* JavaScriptCore.vcproj/jsc/jscReleasePGO.vsprops:
* JavaScriptCore.vcproj/testapi/testapiProduction.vsprops:
* JavaScriptCore.vcproj/testapi/testapiRelease.vsprops:
* JavaScriptCore.vcproj/testapi/testapiReleaseCairoCFLite.vsprops:

Source/WebCore:

* WebCore.vcproj/QTMovieWinProduction.vsprops:
* WebCore.vcproj/QTMovieWinRelease.vsprops:
* WebCore.vcproj/QTMovieWinReleaseCairoCFLite.vsprops:
* WebCore.vcproj/WebCoreProduction.vsprops:
* WebCore.vcproj/WebCoreRelease.vsprops:
* WebCore.vcproj/WebCoreReleaseCairoCFLite.vsprops:

Source/WebKit/win:

* WebKit.vcproj/InterfacesProduction.vsprops:
* WebKit.vcproj/InterfacesRelease.vsprops:
* WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
* WebKit.vcproj/WebKitGUIDProduction.vsprops:
* WebKit.vcproj/WebKitGUIDRelease.vsprops:
* WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
* WebKit.vcproj/WebKitLibProduction.vsprops:
* WebKit.vcproj/WebKitLibRelease.vsprops:
* WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:

Source/WebKit2:

* win/WebKit2Production.vsprops:
* win/WebKit2Release.vsprops:
* win/WebKit2ReleaseCairoCFLite.vsprops:
* win/WebKit2WebProcessProduction.vsprops:
* win/WebKit2WebProcessRelease.vsprops:
* win/WebKit2WebProcessReleaseCairoCFLite.vsprops:

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

9 years agoAdd some dynamic annotations to JavaScriptCore/wtf
sfalken@apple.com [Wed, 30 Mar 2011 22:42:21 +0000 (22:42 +0000)]
Add some dynamic annotations to JavaScriptCore/wtf
https://bugs.webkit.org/show_bug.cgi?id=53747

Patch by Timur Iskhodzhanov <timurrrr@google.com> on 2011-03-30
Reviewed by Alexey Proskuryakov.

By using these annotations we can improve the precision of finding
WebKit errors using dynamic analysis tools like ThreadSanitizer and Valgrind.
These annotations don't affect the compiled binaries unless USE(DYNAMIC_ANNOTATIONS) is "1".

These files don't add new functionality, so don't need extra tests.

* DumpRenderTree/ForwardingHeaders/wtf/DynamicAnnotations.h: Added.

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

9 years agoShare most vsprops between Release and Production builds in releaseproduction.vsprops
sfalken@apple.com [Wed, 30 Mar 2011 22:41:58 +0000 (22:41 +0000)]
Share most vsprops between Release and Production builds in releaseproduction.vsprops
https://bugs.webkit.org/show_bug.cgi?id=57508

Reviewed by Adam Roben.

* win/tools/vsprops/release.vsprops:
* win/tools/vsprops/releaseproduction.vsprops: Copied from WebKitLibraries/win/tools/vsprops/release.vsprops.

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

9 years agoExplicitly prevent testapi and minidom from being installed rather than relying
mrowe@apple.com [Wed, 30 Mar 2011 22:39:07 +0000 (22:39 +0000)]
Explicitly prevent testapi and minidom from being installed rather than relying
on Xcode's current behavior of not installing if INSTALL_PATH is not explicitly
set at the target level.

Reviewed by Adam Roben.

<rdar://problem/9206357>

* JavaScriptCore.xcodeproj/project.pbxproj:

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

9 years agoAdd some dynamic annotations to JavaScriptCore/wtf
levin@chromium.org [Wed, 30 Mar 2011 22:31:16 +0000 (22:31 +0000)]
Add some dynamic annotations to JavaScriptCore/wtf
https://bugs.webkit.org/show_bug.cgi?id=53747

Patch by Timur Iskhodzhanov <timurrrr@google.com> on 2011-03-30
Reviewed by Alexey Proskuryakov.

By using these annotations we can improve the precision of finding
WebKit errors using dynamic analysis tools like ThreadSanitizer and Valgrind.
These annotations don't affect the compiled binaries unless USE(DYNAMIC_ANNOTATIONS) is "1".

These files don't add new functionality, so don't need extra tests.

Source/JavaScriptCore:

* GNUmakefile.am:
* JavaScriptCore.gypi:
* JavaScriptCore.vcproj/WTF/WTF.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* wtf/CMakeLists.txt:
* wtf/DynamicAnnotations.cpp: Added.
(WTFAnnotateBenignRaceSized):
(WTFAnnotateHappensBefore):
(WTFAnnotateHappensAfter):
* wtf/DynamicAnnotations.h: Added.
* wtf/ThreadSafeRefCounted.h:
(WTF::ThreadSafeRefCountedBase::derefBase):
* wtf/text/StringStatics.cpp:
(WTF::StringImpl::empty):

Source/JavaScriptGlue:

* ForwardingHeaders/wtf/DynamicAnnotations.h: Added.

Source/WebCore:

* ForwardingHeaders/wtf/DynamicAnnotations.h: Added.

Tools:

* DumpRenderTree/ForwardingHeaders/wtf/DynamicAnnotations.h: Added.

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

9 years agoEnsure consistent, readable working directory for WebProcess before entering sandbox
mjs@apple.com [Wed, 30 Mar 2011 22:27:15 +0000 (22:27 +0000)]
Ensure consistent, readable working directory for WebProcess before entering sandbox
<rdar://problem/8951176>

Patch by Ivan Krstić <ike@apple.com> on 2011-03-30
Reviewed by Oliver Hunt.

* WebProcess/mac/WebProcessMac.mm:
(WebKit::WebProcess::platformInitializeWebProcess):

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

9 years agohttp/tests/uri/username-with-no-hostname.html is flaky due to preload scanner
jberlin@webkit.org [Wed, 30 Mar 2011 22:13:37 +0000 (22:13 +0000)]
http/tests/uri/username-with-no-hostname.html is flaky due to preload scanner
https://bugs.webkit.org/show_bug.cgi?id=57496

Unreviewed, this test has been flakey on a bunch of platforms, so disable it to keep the
bots green.

* http/tests/uri/username-with-no-hostname.html: Removed.
* http/tests/uri/username-with-no-hostname.html-disabled: Copied from http/tests/uri/username-with-no-hostname.html.

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

9 years ago2011-03-30 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 30 Mar 2011 22:09:13 +0000 (22:09 +0000)]
2011-03-30  Martin Robinson  <mrobinson@igalia.com>

        Skip a test which requires missing resource load callback dumps on GTK+.
        Better clump another failing test.

        * platform/gtk/Skipped: Update the skipped list.

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

9 years ago2011-03-30 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 30 Mar 2011 22:04:45 +0000 (22:04 +0000)]
2011-03-30  Martin Robinson  <mrobinson@igalia.com>

        Try to fix the EFL build.

        * platform/efl/RenderThemeEfl.cpp:
        (WebCore::RenderThemeEfl::paintThemePart): Use the new cairo_t accessor on the platform context.

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

9 years ago2011-03-30 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Wed, 30 Mar 2011 22:00:06 +0000 (22:00 +0000)]
2011-03-30  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Simon Fraser.

        Tests that we do not crash when removing inline style
        from a node that is not a html element.
        https://bugs.webkit.org/show_bug.cgi?id=57348

        * editing/execCommand/remove-format-non-html-element-crash-expected.txt: Added.
        * editing/execCommand/remove-format-non-html-element-crash.html: Added.
2011-03-30  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Simon Fraser.

        Fix wrong type assumptions in editing code. Move code
        from ASSERTs to hard checks.
        https://bugs.webkit.org/show_bug.cgi?id=57348

        Test: editing/execCommand/remove-format-non-html-element-crash.html

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        * editing/ApplyStyleCommand.cpp:
        (WebCore::getRGBAFontColor):
        (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode):
        * editing/DeleteButtonController.cpp:
        (WebCore::enclosingDeletableElement):
        * editing/EditingStyle.cpp:
        (WebCore::EditingStyle::textDirection):
        (WebCore::EditingStyle::prepareToApplyAt):
        * editing/Editor.cpp:
        (WebCore::Editor::textDirectionForSelection):
        * editing/FormatBlockCommand.cpp:
        (WebCore::FormatBlockCommand::elementForFormatBlockCommand):

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

9 years ago2011-03-30 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Wed, 30 Mar 2011 21:48:51 +0000 (21:48 +0000)]
2011-03-30  Stephen White  <senorblanco@chromium.org>

        Reviewed by Kenneth Russell.

        Speed up clipping in accelerated 2D canvas.
        https://bugs.webkit.org/show_bug.cgi?id=57464

        Instead of clearing the entire stencil buffer when removing clipping paths, we erase the path with a DECR stencil operation.
        Covered by canvas/philip/tests/2d.path.clip.intersect.html, and others.

        * platform/graphics/chromium/GLES2Canvas.cpp:
        (WebCore::PathAndTransform::PathAndTransform):
        New structure to keep track of the CTM at the time the clipping path was added.
        (WebCore::GLES2Canvas::State::State):
        Replace m_clippingEnabled with a count of total clipping paths.
        (WebCore::GLES2Canvas::clearRect):
        Check the total clipping path count, instead of m_clippingEnabled.
        (WebCore::GLES2Canvas::fillPath):
        (WebCore::GLES2Canvas::fillRect):
        Perform state application after doing shadows.  This is necessary
        since restore() may now leave clipping enabled.
        (WebCore::GLES2Canvas::clipPath):
        Explicitly specify the stencil operation as INCR.  Store the current
        transformation when saving clipping paths.
        (WebCore::GLES2Canvas::restore):
        Don't clear the stencil buffer and re-draw active paths on each restore.
        Erase the old paths with DECR.
        (WebCore::GLES2Canvas::drawTexturedRect):
        Check m_numClippingPaths instead of m_clippingEnabled.
        (WebCore::GLES2Canvas::beginShadowDraw):
        Perform state application when drawing hard shadows.
        (WebCore::GLES2Canvas::endShadowDraw):
        Check m_numClippingPaths instead of m_clippingEnabled.
        (WebCore::GLES2Canvas::beginStencilDraw):
        Make the stencil op a parameter to beginShadowDraw().
        (WebCore::GLES2Canvas::applyClipping):
        Compare against the total number of stencil paths, not just the ones in
        the current state.
        * platform/graphics/chromium/GLES2Canvas.h:
        Make the stencil op a parameter to beginShadowDraw().

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

9 years ago2011-03-29 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Wed, 30 Mar 2011 21:44:25 +0000 (21:44 +0000)]
2011-03-29  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Move factory-like things in EventDispatcher::dispatchMouseEvent to a factory, clean up names and ordering.
        https://bugs.webkit.org/show_bug.cgi?id=57419

        Refactoring, covered by existing tests.

        * dom/EventDispatcher.cpp:
        (WebCore::EventDispatcher::dispatchMouseEvent): Reordered and clarified names.
        * dom/MouseEvent.cpp:
        (WebCore::MouseEvent::create): Added a new factory method that takes PlatformMouseEvent.
        * dom/MouseEvent.h: Added decl.

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

9 years ago2011-03-30 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Wed, 30 Mar 2011 21:39:20 +0000 (21:39 +0000)]
2011-03-30  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Make StructureChain GC allocated
        https://bugs.webkit.org/show_bug.cgi?id=56695

        Make StructureChain GC allocated, and make the various owners
        mark it correctly.

        * bytecode/CodeBlock.cpp:
        (JSC::CodeBlock::dump):
        (JSC::CodeBlock::derefStructures):
        (JSC::CodeBlock::refStructures):
        (JSC::CodeBlock::markAggregate):
        * bytecode/Instruction.h:
        (JSC::PolymorphicAccessStructureList::PolymorphicStubInfo::set):
        (JSC::PolymorphicAccessStructureList::PolymorphicAccessStructureList):
        (JSC::PolymorphicAccessStructureList::derefStructures):
        (JSC::PolymorphicAccessStructureList::markAggregate):
        (JSC::Instruction::Instruction):
        * bytecode/StructureStubInfo.cpp:
        (JSC::StructureStubInfo::deref):
        (JSC::StructureStubInfo::markAggregate):
        * bytecode/StructureStubInfo.h:
        (JSC::StructureStubInfo::initGetByIdChain):
        (JSC::StructureStubInfo::initPutByIdTransition):
        * bytecompiler/BytecodeGenerator.cpp:
        (JSC::BytecodeGenerator::emitJumpIfNotFunctionCall):
        (JSC::BytecodeGenerator::emitJumpIfNotFunctionApply):
        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::privateExecute):
        * jit/JITOpcodes.cpp:
        (JSC::JIT::emit_op_jneq_ptr):
        * jit/JITOpcodes32_64.cpp:
        (JSC::JIT::emit_op_jneq_ptr):
        * jit/JITPropertyAccess.cpp:
        (JSC::JIT::privateCompileGetByIdChainList):
        * jit/JITPropertyAccess32_64.cpp:
        (JSC::JIT::privateCompileGetByIdChainList):
        * jit/JITStubs.cpp:
        (JSC::getPolymorphicAccessStructureListSlot):
        (JSC::DEFINE_STUB_FUNCTION):
        * runtime/JSCell.h:
        * runtime/JSGlobalData.cpp:
        (JSC::JSGlobalData::JSGlobalData):
        * runtime/JSGlobalData.h:
        * runtime/JSGlobalObject.cpp:
        (JSC::markIfNeeded):
        * runtime/JSGlobalObject.h:
        (JSC::Structure::prototypeChain):
        * runtime/JSObject.h:
        (JSC::JSObject::markChildrenDirect):
        * runtime/JSPropertyNameIterator.cpp:
        (JSC::JSPropertyNameIterator::create):
        (JSC::JSPropertyNameIterator::get):
        (JSC::JSPropertyNameIterator::markChildren):
        * runtime/JSPropertyNameIterator.h:
        (JSC::JSPropertyNameIterator::setCachedPrototypeChain):
        * runtime/MarkStack.h:
        (JSC::MarkStack::append):
        * runtime/Structure.h:
        (JSC::Structure::cachedPrototypeChainSlot):
        * runtime/StructureChain.cpp:
        (JSC::StructureChain::StructureChain):
        * runtime/StructureChain.h:
        (JSC::StructureChain::create):
        (JSC::StructureChain::createStructure):

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

9 years ago2011-03-30 Erik Arvidsson <arv@chromium.org>
arv@chromium.org [Wed, 30 Mar 2011 21:06:08 +0000 (21:06 +0000)]
2011-03-30  Erik Arvidsson  <arv@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Missing DOM bindings for a ping
        https://bugs.webkit.org/show_bug.cgi?id=51955

        * fast/dom/ping-attribute-dom-binding-expected.txt: Added.
        * fast/dom/ping-attribute-dom-binding.html: Added.
2011-03-30  Erik Arvidsson  <arv@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Missing DOM bindings for a ping
        https://bugs.webkit.org/show_bug.cgi?id=51955

        Test: fast/dom/ping-attribute-dom-binding.html

        * html/HTMLAnchorElement.idl:
        * html/HTMLAreaElement.idl:

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