1. 27 Jul, 2012 40 commits
    • commit-queue@webkit.org's avatar
      [chromium] Clean up LayerRendererChromium::drawTexturedQuad · 7d138ab9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91823
      
      Patch by Adrienne Walker <enne@google.com> on 2012-07-27
      Reviewed by James Robinson.
      
      LayerRendererChromium::drawTexturedQuad has been around forever and
      over time has developed several problems:
       - Confusingly named relative to drawTextureQuad
       - All but one callers identically manipulate the transform matrix
       - Lots of optional parameters that only few functions use
      
      This patch breaks up drawTexturedQuad into setShaderOpacity (for
      optional opacity values sent to the shader), setShaderFloatQuad (the
      full FloatQuad used by AA shaders), and drawQuadGeometry (actually
      draw the geometry, and wrap the transform logic that was duplicated
      everywhere).
      
      No new tests; no change in functionality.
      
      * platform/graphics/chromium/LayerRendererChromium.cpp:
      (WebCore::LayerRendererChromium::drawCheckerboardQuad):
      (WebCore::LayerRendererChromium::drawBackgroundFilters):
      (WebCore::LayerRendererChromium::drawRenderPassQuad):
      (WebCore::LayerRendererChromium::drawSolidColorQuad):
      (WebCore::LayerRendererChromium::drawTileQuad):
      (WebCore::LayerRendererChromium::drawYUVVideoQuad):
      (WebCore::LayerRendererChromium::drawStreamVideoQuad):
      (WebCore::LayerRendererChromium::drawTextureQuad):
      (WebCore::LayerRendererChromium::drawIOSurfaceQuad):
      (WebCore::LayerRendererChromium::drawHeadsUpDisplay):
      (WebCore::LayerRendererChromium::setShaderFloatQuad):
      (WebCore::LayerRendererChromium::setShaderOpacity):
      (WebCore::LayerRendererChromium::drawQuadGeometry):
      (WebCore::LayerRendererChromium::copyTextureToFramebuffer):
      * platform/graphics/chromium/LayerRendererChromium.h:
      (LayerRendererChromium):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d138ab9
    • caio.oliveira@openbossa.org's avatar
      [Qt] Fix build after r123917 · 32bcd587
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92555
      
      Unreviewed.
      
      * wtf/GregorianDateTime.h: Needs string.h for memset().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32bcd587
    • commit-queue@webkit.org's avatar
      "webkit-patch upload" should strip colors from patch if necessary · 31e6fc84
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92306
      
      Patch by Rafael Brandao <rafael.lobo@openbossa.org> on 2012-07-27
      Reviewed by Adam Barth.
      
      * Scripts/webkitpy/common/checkout/scm/git.py: Explicity remove colors from diff.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31e6fc84
    • caio.oliveira@openbossa.org's avatar
      [Qt] Remaining rebaselines after new test fonts · 789dda1a
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92552
      
      Unreviewed.
      
      Unskip a bunch of tests, organize the remaining skips. The mentions to bug 85203 were
      removed now. A last batch of WK1 results were associated with the bug 91610.
      
      * platform/qt-5.0-wk1/Skipped:
      * platform/qt-5.0-wk2/Skipped:
      * platform/qt-5.0-wk2/fullscreen/full-screen-placeholder-expected.txt:
      * platform/qt-5.0/Skipped:
      * platform/qt/editing/input/caret-at-the-edge-of-input-expected.txt:
      * platform/qt/editing/input/reveal-caret-of-multiline-input-expected.txt:
      * platform/qt/http/tests/cache/cancel-during-revalidation-succeeded-expected.txt: Removed.
      * platform/qt/http/tests/misc/object-embedding-svg-delayed-size-negotiation-2-expected.txt:
      * platform/qt/http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt: Removed.
      * platform/qt/svg/text/select-textLength-spacing-squeeze-1-expected.txt:
      * platform/qt/svg/text/select-textLength-spacing-squeeze-2-expected.txt:
      * platform/qt/svg/text/select-textLength-spacing-squeeze-3-expected.txt:
      * platform/qt/svg/text/select-textLength-spacing-squeeze-4-expected.txt:
      * platform/qt/svg/text/select-textLength-spacing-stretch-1-expected.txt:
      * platform/qt/svg/text/select-textLength-spacing-stretch-2-expected.txt:
      * platform/qt/svg/text/select-textLength-spacing-stretch-3-expected.txt:
      * platform/qt/svg/text/select-textLength-spacing-stretch-4-expected.txt:
      * platform/qt/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt:
      * platform/qt/svg/text/select-x-list-1-expected.txt:
      * platform/qt/svg/text/select-x-list-2-expected.txt:
      * platform/qt/svg/text/select-x-list-3-expected.txt:
      * platform/qt/svg/text/select-x-list-4-expected.txt:
      * platform/qt/svg/text/select-x-list-with-tspans-1-expected.txt:
      * platform/qt/svg/text/select-x-list-with-tspans-2-expected.txt:
      * platform/qt/svg/text/select-x-list-with-tspans-3-expected.txt:
      * platform/qt/svg/text/select-x-list-with-tspans-4-expected.txt:
      * platform/qt/svg/text/selection-doubleclick-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      789dda1a
    • commit-queue@webkit.org's avatar
      [chromium] CCLayerTreeHost placeholder scissor should be deviceViewportSize instead of viewportSize · 984dba8b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92469
      
      Patch by Shawn Singh <shawnsingh@chromium.org> on 2012-07-27
      Reviewed by Adrienne Walker.
      
      We were accidentally using viewportSize instead of
      deviceViewportSize in a particular place in code. Recent
      refactoring to use tighter scissor rects exposed this problem.
      
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::updateLayers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      984dba8b
    • commit-queue@webkit.org's avatar
      clean-pending-commit throws exception when encountering Ossy · e09079d1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92534
      
      Patch by Eric Seidel <eric@webkit.org> on 2012-07-27
      Reviewed by Adam Barth.
      
      Mark a couple strings as unicode so that reviewers with unicode names do not cause
      clean-pending-commit to barf.
      
      * Scripts/webkitpy/tool/commands/upload.py:
      (CleanPendingCommit._flags_to_clear_on_patch):
      (CleanPendingCommit.execute):
      (AssignToCommitter._assign_bug_to_last_patch_attacher):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e09079d1
    • commit-queue@webkit.org's avatar
      Search cancel button is hard to activate with a tap gesture even if touch adjustment is enabled. · 5d423227
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91894
      
      Patch by Kevin Ellis <kevers@chromium.org> on 2012-07-27
      Reviewed by Antonio Gomes.
      
      Source/WebCore:
      
      Update check for determining if a node responds to tap gestures.
      Previously, the cancel button was being discarded as a candidate for
      touch adjustment if the touch area clipped the text input region
      because the candidate pruning process failed to account for the cancel
      button having a default mouse handler.  Possibly an interim fix,
      depending on resolution to 92093.
      
      Test: touchadjustment/search-cancel.html
      
      * page/TouchAdjustment.cpp:
      (TouchAdjustment):
      (WebCore::TouchAdjustment::nodeRespondsToTapGesture):
      
      LayoutTests:
      
      Add test for touch adjustment in the vicinity of a search cancel button.
      Prior to the patch, the cancel button was pruned as a candidate if the
      touch area clipped the input field.
      
      * touchadjustment/search-cancel-expected.txt: Added.
      * touchadjustment/search-cancel.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d423227
    • dpranke@chromium.org's avatar
      chromium win compile broken after removing webkit.py · 3449a61b
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92549
      
      Unreviewed, build fix.
      
      It turns out that this file is listed in the chromium downstream
      'browser_tests.isolate' file, and so deleting it broke gyp.
      Adding a stub file back in until we can remove the entry from
      the file.
      
      * Scripts/webkitpy/layout_tests/port/webkit.py: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3449a61b
    • paroga@webkit.org's avatar
      MinGW build fails because of missing header in GregorianDateTime.h · d4f5e322
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92531
      
      Patch by Paweł Forysiuk <tuxator@o2.pl> on 2012-07-27
      
      * wtf/GregorianDateTime.h: Include time.h
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4f5e322
    • dpranke@chromium.org's avatar
      nrwt: remove 'webkit.py' and the 'WebKitPort' · 774c655c
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92450
      
      Reviewed by Ryosuke Niwa.
      
      This patch finishes the work of merging WebKitPort into Port.
      Now Port is way too big :).
      
      This is all cutting and pasting; no new functionality and
      no changes in the tests.
      
      * Scripts/webkitpy/layout_tests/port/apple.py:
      (ApplePort):
      (ApplePort.__init__):
      * Scripts/webkitpy/layout_tests/port/base.py:
      (Port.skipped_layout_tests):
      (Port):
      (Port._port_flag_for_scripts):
      (Port._arguments_for_configuration):
      (Port._run_script):
      (Port._build_driver):
      (Port._build_driver_flags):
      (Port._tests_for_other_platforms):
      (Port._runtime_feature_list):
      (Port.nm_command):
      (Port._modules_to_search_for_symbols):
      (Port._symbols_string):
      (Port._missing_feature_to_skipped_tests):
      (Port._missing_symbol_to_skipped_tests):
      (Port._has_test_in_directories):
      (Port._skipped_tests_for_unsupported_features):
      (Port._wk2_port_name):
      (Port._skipped_file_search_paths):
      * Scripts/webkitpy/layout_tests/port/chromium.py:
      (ChromiumPort):
      * Scripts/webkitpy/layout_tests/port/chromium_android.py:
      * Scripts/webkitpy/layout_tests/port/chromium_port_testcase.py:
      (ChromiumPortTestCase.test_check_build):
      * Scripts/webkitpy/layout_tests/port/driver_unittest.py:
      * Scripts/webkitpy/layout_tests/port/efl.py:
      (EflPort):
      (EflPort.__init__):
      * Scripts/webkitpy/layout_tests/port/gtk.py:
      (GtkPort):
      (GtkPort.setup_environ_for_server):
      * Scripts/webkitpy/layout_tests/port/port_testcase.py:
      (TestWebKitPort):
      (TestWebKitPort.__init__):
      (TestWebKitPort.all_test_configurations):
      (TestWebKitPort._symbols_string):
      (TestWebKitPort._tests_for_other_platforms):
      (TestWebKitPort._tests_for_disabled_features):
      (PortTestCase):
      (PortTestCase.test_diff_image):
      (PortTestCase.test_path_to_test_expectations_file):
      (PortTestCase.test_skipped_directories_for_symbols):
      (test_skipped_directories_for_features):
      (test_skipped_directories_for_features_no_matching_tests_in_test_list):
      (test_skipped_tests_for_unsupported_features_empty_test_list):
      (test_skipped_layout_tests):
      (test_skipped_file_search_paths):
      (test_root_option):
      (test_test_expectations):
      (test_build_driver):
      (_assert_config_file_for_platform):
      (test_linux_distro_detection):
      (test_apache_config_file_name_for_platform):
      (test_path_to_apache_config_file):
      * Scripts/webkitpy/layout_tests/port/qt.py:
      (QtPort):
      (QtPort.__init__):
      (QtPort.setup_environ_for_server):
      * Scripts/webkitpy/layout_tests/port/webkit.py: Removed.
      * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Removed.
      * Scripts/webkitpy/tool/servers/rebaselineserver.py:
      (get_test_baselines.AllPlatformsPort):
      (get_test_baselines.AllPlatformsPort.__init__):
      * Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
      (get_test_config.TestMacPort):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      774c655c
    • andersca@apple.com's avatar
      Don't use an NSUserDefault for disabling the web process sandbox · a88e6360
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=92542
      <rdar://problem/11976060>
      
      Reviewed by Mark Rowe.
      
      The user default was really helpful during WebKit2 bringup, but we no longer need to pay the IPC cost of initializing NSUserDefaults at startup,
      so get rid of the preference and use a good old #ifdef instead.
      
      * WebProcess/mac/WebProcessMac.mm:
      (WebKit::initializeSandbox):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a88e6360
    • commit-queue@webkit.org's avatar
      Animated SVGs do not clear previous frame completely in hidpi mode. · 2474df7e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92395
      
      Patch by Varun Jain <varunjain@chromium.org> on 2012-07-27
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      The rect thats is cleared in subsequent frames needed to be scaled with device scale.
      
      Test: svg/as-image/animated-svg-repaints-completely-in-hidpi.html
      
      * svg/graphics/SVGImage.cpp:
      (WebCore::SVGImage::drawSVGToImageBuffer):
      
      LayoutTests:
      
      * platform/chromium/TestExpectations:
      * platform/mac/svg/as-image/animated-svg-repaints-completely-in-hidpi-expected.png: Added.
      * platform/mac/svg/as-image/animated-svg-repaints-completely-in-hidpi-expected.txt: Added.
      * svg/as-image/animated-svg-repaints-completely-in-hidpi.html: Added.
      * svg/as-image/resources/animated-rect-fixed-size-3.svg: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2474df7e
    • mitz@apple.com's avatar
      Fix COMPILE_ASSERT for InlineFlowBox growing · 66d56c36
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=92541
      
      Patch by Scott Graham <scottmg@chromium.org> on 2012-07-27
      Reviewed by Dan Bernstein.
      
      Use unsigned instead of bool to keep size small on Windows.
      
      No new tests.
      
      * rendering/InlineFlowBox.h:
      (InlineFlowBox):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66d56c36
    • bdakin@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=92327 · 085e45db
      bdakin@apple.com authored
      -webkit-background-clip:text is blurry in WebKit 1 apps when
      deviceScaleFactor > 1
      -and corresponding-
      <rdar://problem/11683788>
      
      Reviewed by Simon Fraser.
      
      Source/WebCore: 
      
      The bug here is that the code to make createCompatibleBuffer() HiDPI-savvy 
      assumed that the deviceScaleFactor would always be baked into the CTM of the
      GraphicsContext. But that is NOT the case in WebKit 1.
      
      createCompatibleBuffer() is used for clip text and gradients.
      
      Now getCTM() takes a parameter indicating whether the result should definitely
      include the device scale, or if it should possibly included the device scale, 
      which is the option that matches old behavior.
      * platform/graphics/GraphicsContext.h:
      (GraphicsContext):
      * platform/graphics/cairo/GraphicsContextCairo.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/openvg/GraphicsContextOpenVG.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/qt/GraphicsContextQt.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/skia/GraphicsContextSkia.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/wince/GraphicsContextWinCE.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/wx/GraphicsContextWx.cpp:
      (WebCore::GraphicsContext::getCTM):
      
      Actually use the new parameter in the CG implementation. Use CG API to get a
      matrix that definitely includes the device scale when that is required. 
      * platform/graphics/cg/GraphicsContextCG.cpp:
      (WebCore::GraphicsContext::getCTM):
      
      Remove some symbol cruft that doesn't seem to require a replacement.
      * WebCore.exp.in:
      
      Use DefinitelyIncludeDeviceScale when getting the CTM in the buggy spot.
      * platform/graphics/GraphicsContext.cpp:
      (WebCore::GraphicsContext::createCompatibleBuffer):
      
      The ImageBuffer for gradients is created using createCompatibleBuffer(), and since 
      createCompatibleBuffer() now uses getCTM(DefinitelyIncludeDeviceScale) to 
      determine appropriate sizing, drawPattern() should use that same matrix to 
      determine pattern sizing.
      * platform/graphics/GeneratorGeneratedImage.cpp:
      (WebCore::GeneratorGeneratedImage::drawPattern):
      
      LayoutTests: 
      
      * fast/hidpi/gradient-with-scaled-ancestor.html: Added.
      * platform/mac/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Added.
      * platform/mac/fast/hidpi/gradient-with-scaled-ancestor-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      085e45db
    • commit-queue@webkit.org's avatar
      [WK2][WTR] LayoutTestController.deliverWebIntent() needs to be implemented · dea7397f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92228
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-27
      Reviewed by Anders Carlsson.
      
      Source/WebKit2:
      
      Add C API to create a WKIntentData and to deliver
      it to a frame. This is needed by WebKitTestRunner
      to implement LayoutTestController.deliverWebIntent().
      
      * UIProcess/API/C/WKIntentData.cpp:
      (WKIntentDataCreate):
      * UIProcess/API/C/WKIntentData.h:
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      (WKBundlePageDeliverIntentToFrame):
      * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
      * WebProcess/WebPage/WebPage.h:
      (WebPage): Make deliverIntentToFrame() public so that it can
      be used by WKBundlePage.
      
      Tools:
      
      Implement LayoutTestController.deliverWebIntent() to
      allow test cases to deliver a Web intent and test this
      functionality.
      
      This functionality is needed by:
      - webintents/web-intents-delivery.html
      
      * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
      * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
      (WTR::LayoutTestController::deliverWebIntent):
      (WTR):
      * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
      (LayoutTestController):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dea7397f
    • bweinstein@apple.com's avatar
      Add Mac results for fast/table/table-row-outline-paint.html. · 179642b2
      bweinstein@apple.com authored
      * platform/mac/fast/table/table-row-outline-paint-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      179642b2
    • commit-queue@webkit.org's avatar
      Source/WebCore: flex-wrap: wrap not wrapping for % sized items in column flow · 5113b27b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92324
      
      Patch by Tony Chang <tony@chromium.org> on 2012-07-27
      Reviewed by Ojan Vafai.
      
      We were using trying to use the value of contentLogicalHeight() before having called computeLogicalHeight()
      in a few places. Fix this in mainAxisContentExtent() rather than at the callers.
      
      Test: css3/flexbox/percentage-heights.html
      
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::mainAxisContentExtent):
      (WebCore::RenderFlexibleBox::preferredMainAxisContentExtentForChild): If we haven't called computeLogicalHeight, we try to compute
      the height based on the fixed flexbox value. min/max don't matter here since percent values are only based on height/width.
      * rendering/RenderFlexibleBox.h: Drop const because computeContentLogicalHeightUsing is not const. I can
      try making computeContentLogicalHeightUsing const in a follow up change (might be non-trivial).
      
      Source/WebKit2: Show the unavailable plug-in indicator for Java applets as well
      https://bugs.webkit.org/show_bug.cgi?id=92521
      
      Patch by Anders Carlsson <andersca@apple.com> on 2012-07-27
      Reviewed by Sam Weinig.
      
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::unavailablePluginButtonClicked):
      This can now be called on applet elements as well.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::createJavaAppletWidget):
      Get the MIME type from the applet element.
      
      LayoutTests: flex-wrap: wrap not wrapping for % sized items in column flow
      https://bugs.webkit.org/show_bug.cgi?id=92324
      
      Patch by Tony Chang <tony@chromium.org> on 2012-07-27
      Reviewed by Ojan Vafai.
      
      Test cases for column flow with percentage heights. There are three
      test cases for the three callers of mainAxisContentExtent() that were
      broken by this.
      
      * css3/flexbox/percentage-heights-expected.txt: Added.
      * css3/flexbox/percentage-heights.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5113b27b
    • commit-queue@webkit.org's avatar
      Add an overlay play button to media controls on android · 9f93124f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92132
      
      Patch by Min Qin <qinmin@chromium.org> on 2012-07-27
      Reviewed by Adam Barth.
      
      This change adds an overlay play button to the media controls for android.
      No tests for now as this setting is not being used by other port.
      Will add a test and adjust all the test expectations when we upstream the layout tests for android.
      
      * WebCore.gypi:
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      * css/CSSValueKeywords.in:
      * css/mediaControls.css:
      (audio::-webkit-media-controls-overlay-play-button, video::-webkit-media-controls-overlay-play-button):
      * css/mediaControlsChromiumAndroid.css:
      (audio::-webkit-media-controls-overlay-enclosure):
      (video::-webkit-media-controls-overlay-enclosure):
      (audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):
      (video::-webkit-media-controls-overlay-play-button):
      * html/shadow/MediaControlElements.cpp:
      (WebCore::MediaControlOverlayPlayButtonElement::MediaControlOverlayPlayButtonElement):
      (WebCore):
      (WebCore::MediaControlOverlayPlayButtonElement::create):
      (WebCore::MediaControlOverlayPlayButtonElement::defaultEventHandler):
      (WebCore::MediaControlOverlayPlayButtonElement::updateDisplayType):
      (WebCore::MediaControlOverlayPlayButtonElement::shadowPseudoId):
      * html/shadow/MediaControlElements.h:
      (MediaControlOverlayPlayButtonElement):
      (WebCore):
      * html/shadow/MediaControlRootElementChromium.cpp:
      (WebCore::MediaControlPanelEnclosureElement::MediaControlPanelEnclosureElement):
      (WebCore::MediaControlPanelEnclosureElement::create):
      (WebCore):
      (WebCore::MediaControlPanelEnclosureElement::shadowPseudoId):
      (WebCore::MediaControlRootElementChromium::create):
      (WebCore::MediaControlRootElementChromium::initializeControls):
      * html/shadow/MediaControlRootElementChromium.h:
      (MediaControlChromiumEnclosureElement):
      (WebCore):
      (MediaControlPanelEnclosureElement):
      (MediaControlRootElementChromium):
      * html/shadow/MediaControlRootElementChromiumAndroid.cpp: Added.
      (WebCore):
      (WebCore::MediaControlOverlayEnclosureElement::MediaControlOverlayEnclosureElement):
      (WebCore::MediaControlOverlayEnclosureElement::create):
      (WebCore::MediaControlOverlayEnclosureElement::shadowPseudoId):
      (WebCore::MediaControlRootElementChromiumAndroid::MediaControlRootElementChromiumAndroid):
      (WebCore::MediaControls::create):
      (WebCore::MediaControlRootElementChromiumAndroid::create):
      (WebCore::MediaControlRootElementChromiumAndroid::setMediaController):
      (WebCore::MediaControlRootElementChromiumAndroid::playbackStarted):
      (WebCore::MediaControlRootElementChromiumAndroid::playbackStopped):
      * html/shadow/MediaControlRootElementChromiumAndroid.h: Added.
      (WebCore):
      (MediaControlOverlayEnclosureElement):
      (MediaControlRootElementChromiumAndroid):
      * platform/ThemeTypes.h:
      * rendering/RenderMediaControlsChromium.cpp:
      (WebCore::paintMediaOverlayPlayButton):
      (WebCore):
      (WebCore::RenderMediaControlsChromium::paintMediaControlsPart):
      * rendering/RenderTheme.cpp:
      (WebCore::RenderTheme::paint):
      * rendering/RenderTheme.h:
      (WebCore::RenderTheme::paintMediaOverlayPlayButton):
      * rendering/RenderThemeChromiumAndroid.cpp:
      (WebCore::RenderThemeChromiumAndroid::paintMediaOverlayPlayButton):
      (WebCore):
      * rendering/RenderThemeChromiumAndroid.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f93124f
    • andersca@apple.com's avatar
      Show the unavailable plug-in indicator for Java applets as well · ae9270e8
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=92521
      
      Reviewed by Sam Weinig.
      
      Source/WebCore:
      
      Now that <applet> behaves more like <embed> and <object>, make sure that we show the unavailable plug-in indicator
      and call the correct error callbacks if we fail to instantiate the plug-in.
      
      * WebCore.exp.in:
      Export a symbol needed by WebKit2.
      
      * html/HTMLAppletElement.cpp:
      (WebCore::HTMLAppletElement::HTMLAppletElement):
      Set the correct service type.
      
      * loader/SubframeLoader.cpp:
      (WebCore::SubframeLoader::createJavaAppletWidget):
      Enable the unavailable plug-in indicator if we fail to create the java applet widget.
      
      Source/WebKit/mac:
      
      Check if the Java plug-in is blocked before trying to instantiate it.
      
      * WebCoreSupport/WebFrameLoaderClient.mm:
      
      Source/WebKit2:
      
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::unavailablePluginButtonClicked):
      This can now be called on applet elements as well.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::createJavaAppletWidget):
      Get the MIME type from the applet element.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae9270e8
    • jer.noble@apple.com's avatar
      Unreviewed build fix. · 40a8c3c1
      jer.noble@apple.com authored
      Source/WTF:
      
      Use MathExtras.h and the non std:: versions of isnan and signbit.
      
      * wtf/MediaTime.cpp:
      (WTF::MediaTime::createWithFloat):
      (WTF::MediaTime::createWithDouble):
      
      Tools:
      
      Wrap MSVC-specific fixes is a COMPILER() check, not a PLATFORM() check.
      
      * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40a8c3c1
    • mhahnenberg@apple.com's avatar
      Increase inline storage for JSFinalObjects by one · aa1f4ec7
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=92526
      
      Reviewed by Geoffrey Garen.
      
      Now that we've removed the inheritorID from objects, we can increase our inline storage for JSFinalObjects on 
      64-bit platforms by 1.
      
      * llint/LowLevelInterpreter.asm: Change the constant.
      * runtime/PropertyOffset.h: Change the constant.
      (JSC):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa1f4ec7
    • mitz@apple.com's avatar
      Hit testing near a column break can return a result from an adjacent column when there is leading · f3ba9528
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=92524
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      The fix for <http://webkit.org/b/92311> relied on the existence of a pagination strut for
      detecting that a line was at the beginning of a new column. However, when a line naturally
      falls at the beginning of a column, there is no pagination strut, and the check failed.
      
      Test: fast/multicol/hit-test-end-of-column-with-line-height.html
      
      * rendering/InlineFlowBox.h:
      (WebCore::InlineFlowBox::InlineFlowBox): Added initializer for new member variable.
      (InlineFlowBox): Added m_isFirstAfterPageBreak member variable.
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::positionForPointWithInlineChildren): Changed the test for whether a
      line was at the beginning of a column from relying on a pagination strut to checking
      isFirstAfterPageBreak(). Also refined the hit test itself to include the leading above such
      a line.
      (WebCore::RenderBlock::adjustLinePositionForPagination): Added calls to
      setIsFirstAfterPageBreak() to first reset this flag, then set it to true if necessary.
      * rendering/RootInlineBox.h:
      (WebCore::RootInlineBox::isFirstAfterPageBreak): Added this accessor.
      (WebCore::RootInlineBox::setIsFirstAfterPageBreak): Ditto.
      
      LayoutTests: 
      
      * fast/multicol/hit-test-end-of-column-with-line-height-expected.txt: Added.
      * fast/multicol/hit-test-end-of-column-with-line-height.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3ba9528
    • commit-queue@webkit.org's avatar
      [WK2] Fix build warning in WebEventConversion.cpp · 049cbbab
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92517
      
      Patch by Gyuyoung Kim <gyuyoung.kim@samsung.com> on 2012-07-27
      Reviewed by Darin Adler.
      
      There is a build warning related to comparison between signed and unsigned integer expressions.
      
      * Shared/WebEventConversion.cpp:
      (WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      049cbbab
    • commit-queue@webkit.org's avatar
      Web Inspector: Allow front_end to be loaded into an iframe · 06d1928f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92437
      
      Patch by John J. Barton <johnjbarton@johnjbarton.com> on 2012-07-27
      Reviewed by Pavel Feldman.
      
      This change only affects 'embedders' of the inspector/front_end. No change of function for WebKit ports.
      
      * inspector/front-end/ExtensionAPI.js:
      Replace window.top with window.parent two places. When WebInspector is loaded as the main window content,
      then extension iframes have window.top === window.parent; when WebInspector is loaded as an iframe, then
      extensions are iframes in iframes and we need to use a relative address window.parent.
      (injectedExtensionAPI.ExtensionViewImpl.dispatchShowEvent):
      (injectedExtensionAPI.ExtensionViewImpl):
      (injectedExtensionAPI.ExtensionServerClient):
      WebKit/chromium/scripts/generate_devtools_extension_api.py:
      The current number of frames is used in a dynamically created identifier. Again we replace 'top' by
      window.parent.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06d1928f
    • commit-queue@webkit.org's avatar
      Web Inspector: InspectorPageAgent should ascertain document to be non-null in updateViewMetrics() · af879c34
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92476
      
      Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-07-27
      Reviewed by Pavel Feldman.
      
      InspectorPageAgent should check for document object being null. As pages created with blank URL might
      not have the document object, this causes a crash.
      
      No new tests as added null check.
      
      * inspector/InspectorPageAgent.cpp:
      (WebCore::InspectorPageAgent::updateViewMetrics):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af879c34
    • commit-queue@webkit.org's avatar
      [Chromium-Android] NRWT better handling of DRT deadlocks and crashes · aac7370c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92299
      
      Patch by Xianzhu Wang <wangxianzhu@chromium.org> on 2012-07-27
      Reviewed by Dirk Pranke.
      
      1. Changed the deadlock detector thread target from a method of driver to a function to avoid its reference to the
         current driver (see the bug for the problem of the reference.
      2. Let the deadlock detector thread exit early when the normal_startup_event is set to avoid it from blocking the main thread when the main thread is exiting.
      3. Extracted common loop until timeout logic into ChromiumAndroidDriver._loop_with_timeout().
      4. Use the "for i in range(n)" style suggested by dpranke in https://bugs.webkit.org/show_bug.cgi?id=89124 in several functions.
      
      * Scripts/webkitpy/layout_tests/port/chromium_android.py:
      (ChromiumAndroidPort.__init__):
      (ChromiumAndroidPort._run_adb_command): Reduced the verbose output.
      (ChromiumAndroidDriver.__init__):
      (ChromiumAndroidDriver._loop_with_timeout): Extracted common loop until timeout logic here.
      (ChromiumAndroidDriver._all_pipes_created):
      (ChromiumAndroidDriver._remove_all_pipes):
      (ChromiumAndroidDriver._start): Changed the retry loop style.
      (ChromiumAndroidDriver._start_once): Changed the loop style and code related to deadlock detector.
      (ChromiumAndroidDriver._start_once.deadlock_detector): Moved the original ChromiumAndroidDriver._deadlock_detector() here.
      (ChromiumAndroidDriver.stop): Changed the loop style.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aac7370c
    • commit-queue@webkit.org's avatar
      CSP directives containing invalid characters should log an error. · b81091f0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92487
      
      Patch by Mike West <mkwst@chromium.org> on 2012-07-27
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Unknown directive names are currently logged, but we exit the directive
      parser early without logging if we hit an invalid character inside a
      directive. `script-src: ...`, for example, was ignored without letting
      the developer know what happened. This patch changes that behavior,
      logging the whole name (in this case `script-src:`) as an unknown
      directive.
      
      Test: http/tests/security/contentSecurityPolicy/directive-parsing-04.html
      
      * page/ContentSecurityPolicy.cpp:
      (WebCore::CSPDirectiveList::parseDirective):
      
      LayoutTests:
      
      * http/tests/security/contentSecurityPolicy/directive-parsing-03-expected.txt: Added.
      * http/tests/security/contentSecurityPolicy/directive-parsing-04-expected.txt: Added.
      * http/tests/security/contentSecurityPolicy/directive-parsing-04.html: Added.
          Adding a test specifically for `script-src: ...` which bit me, and
          updating test #3, which now has a better error message.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b81091f0
    • dpranke@chromium.org's avatar
      nrwt: move collect_tests(), parse_expectations() into manager · ae208e5d
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92423
      
      Reviewed by Ojan Vafai.
      
      This is the first in a series of patches refactoring
      run_webkit_tests.py and manager.py to make them more
      maintainable; all this patch does is move a couple of functions
      into manager.run_tests() so manager's public interface is
      simple.
      
      * Scripts/webkitpy/layout_tests/controllers/manager.py:
      (Manager._collect_tests):
      (Manager._parse_expectations):
      (Manager._split_into_chunks_if_necessary):
      (Manager.run):
      (read_test_files):
      * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
      (ManagerTest.test_http_locking):
      (ManagerTest.test_perf_locking):
      (ManagerTest.integration_test_needs_servers.get_manager_with_tests):
      (ManagerTest.test_look_for_new_crash_logs.get_manager_with_tests):
      * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
      (run):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae208e5d
    • commit-queue@webkit.org's avatar
      Add more Russian replay performance tests · c64bd0bc
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92462
      
      Patch by Ryosuke Niwa <rniwa@webkit.org> on 2012-07-27
      Reviewed by Tony Chang.
      
      Add more Russian sites as suggested by loislo.
      
      * Replay/Russian/lenta.ru.replay: Added.
      * Replay/Russian/www.ixbt.com.replay: Added.
      * Replay/Russian/www.kp.ru.replay: Added.
      * Replay/Russian/www.liveinternet.ru.replay: Added.
      * Replay/Russian/www.pravda.ru.replay: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c64bd0bc
    • commit-queue@webkit.org's avatar
      [Qt] platform/qt/svg/custom tests needs update after font change. · 35a5f218
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91090.
      
      Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-27
      Reviewed by Zoltan Herczeg.
      
      * platform/qt-5.0-wk1/Skipped:
      * platform/qt-5.0-wk2/Skipped:
      * platform/qt-5.0-wk2/svg/custom/altglyph-expected.png: Removed.
      * platform/qt-5.0-wk2/svg/custom/altglyph-expected.txt: Removed.
      * platform/qt-5.0-wk2/svg/custom/font-face-simple-expected.png: Removed.
      * platform/qt-5.0-wk2/svg/custom/font-face-simple-expected.txt: Removed.
      * platform/qt-5.0-wk2/svg/custom/inline-svg-in-xhtml-expected.png: Added.
      * platform/qt-5.0-wk2/svg/custom/inline-svg-in-xhtml-expected.txt: Copied from LayoutTests/platform/qt/svg/custom/inline-svg-in-xhtml-expected.txt.
      * platform/qt-5.0/Skipped:
      * platform/qt-5.0/svg/custom/glyph-selection-arabic-forms-expected.png: Removed.
      * platform/qt-5.0/svg/custom/glyph-selection-arabic-forms-expected.txt: Removed.
      * platform/qt-5.0/svg/custom/glyph-selection-bidi-mirror-expected.png: Removed.
      * platform/qt-5.0/svg/custom/glyph-selection-bidi-mirror-expected.txt: Removed.
      * platform/qt-5.0/svg/custom/glyph-selection-non-bmp-expected.txt: Removed.
      * platform/qt-5.0/svg/custom/glyph-transformation-with-hkern-expected.png: Removed.
      * platform/qt-5.0/svg/custom/glyph-transformation-with-hkern-expected.txt: Removed.
      * platform/qt-5.0/svg/custom/preserve-aspect-ratio-syntax-expected.png: Removed.
      * platform/qt-5.0/svg/custom/preserve-aspect-ratio-syntax-expected.txt: Removed.
      * platform/qt-5.0/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png: Removed.
      * platform/qt-5.0/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt: Removed.
      * platform/qt-5.0/svg/custom/svg-features-expected.txt: Removed.
      * platform/qt-5.0/svg/custom/svg-fonts-in-html-expected.png: Removed.
      * platform/qt-5.0/svg/custom/svg-fonts-in-html-expected.txt: Removed.
      * platform/qt-5.0/svg/custom/svg-fonts-in-text-controls-expected.txt: Removed.
      * platform/qt-5.0/svg/custom/svg-fonts-segmented-expected.png: Removed.
      * platform/qt-5.0/svg/custom/svg-fonts-segmented-expected.txt: Removed.
      * platform/qt-5.0/svg/custom/text-linking-expected.png: Removed.
      * platform/qt-5.0/svg/custom/text-linking-expected.txt: Removed.
      * platform/qt/svg/custom/SVGMatrix-interface-expected.png:
      * platform/qt/svg/custom/SVGMatrix-interface-expected.txt:
      * platform/qt/svg/custom/SVGPoint-matrixTransform-expected.png:
      * platform/qt/svg/custom/SVGPoint-matrixTransform-expected.txt:
      * platform/qt/svg/custom/absolute-sized-content-with-resources-expected.png:
      * platform/qt/svg/custom/absolute-sized-content-with-resources-expected.txt:
      * platform/qt/svg/custom/absolute-sized-svg-in-xhtml-expected.png:
      * platform/qt/svg/custom/absolute-sized-svg-in-xhtml-expected.txt:
      * platform/qt/svg/custom/alignment-baseline-modes-expected.png:
      * platform/qt/svg/custom/alignment-baseline-modes-expected.txt:
      * platform/qt/svg/custom/altglyph-expected.png:
      * platform/qt/svg/custom/altglyph-expected.txt:
      * platform/qt/svg/custom/baseval-animval-equality-expected.png:
      * platform/qt/svg/custom/baseval-animval-equality-expected.txt:
      * platform/qt/svg/custom/broken-internal-references-expected.txt:
      * platform/qt/svg/custom/bug45331-expected.png: Added.
      * platform/qt/svg/custom/bug45331-expected.txt: Added.
      * platform/qt/svg/custom/bug86119-expected.txt:
      * platform/qt/svg/custom/circle-move-invalidation-expected.png:
      * platform/qt/svg/custom/circle-move-invalidation-expected.txt:
      * platform/qt/svg/custom/clip-path-referencing-use-expected.png:
      * platform/qt/svg/custom/clip-path-referencing-use-expected.txt:
      * platform/qt/svg/custom/clip-path-referencing-use2-expected.png:
      * platform/qt/svg/custom/clip-path-referencing-use2-expected.txt:
      * platform/qt/svg/custom/clone-element-with-animated-svg-properties-expected.png:
      * platform/qt/svg/custom/clone-element-with-animated-svg-properties-expected.txt:
      * platform/qt/svg/custom/container-opacity-clip-viewBox-expected.png:
      * platform/qt/svg/custom/container-opacity-clip-viewBox-expected.txt:
      * platform/qt/svg/custom/coords-relative-units-transforms-expected.png:
      * platform/qt/svg/custom/coords-relative-units-transforms-expected.txt:
      * platform/qt/svg/custom/createImageElement2-expected.png: Added.
      * platform/qt/svg/custom/createImageElement2-expected.txt:
      * platform/qt/svg/custom/dominant-baseline-hanging-expected.png:
      * platform/qt/svg/custom/dominant-baseline-hanging-expected.txt:
      * platform/qt/svg/custom/dominant-baseline-modes-expected.png:
      * platform/qt/svg/custom/dominant-baseline-modes-expected.txt:
      * platform/qt/svg/custom/dynamic-svg-document-creation-expected.png:
      * platform/qt/svg/custom/dynamic-svg-document-creation-expected.txt:
      * platform/qt/svg/custom/embedding-external-svgs-expected.png:
      * platform/qt/svg/custom/embedding-external-svgs-expected.txt:
      * platform/qt/svg/custom/empty-clip-path-expected.png:
      * platform/qt/svg/custom/empty-clip-path-expected.txt:
      * platform/qt/svg/custom/empty-mask-expected.png: Added.
      * platform/qt/svg/custom/empty-mask-expected.txt:
      * platform/qt/svg/custom/external-paintserver-reference-expected.png:
      * platform/qt/svg/custom/external-paintserver-reference-expected.txt:
      * platform/qt/svg/custom/fill-SVGPaint-interface-expected.png:
      * platform/qt/svg/custom/fill-SVGPaint-interface-expected.txt:
      * platform/qt/svg/custom/fill-fallback-expected.png:
      * platform/qt/svg/custom/fill-fallback-expected.txt:
      * platform/qt/svg/custom/focus-ring-expected.png:
      * platform/qt/svg/custom/focus-ring-expected.txt:
      * platform/qt/svg/custom/font-face-cascade-order-expected.png:
      * platform/qt/svg/custom/font-face-cascade-order-expected.txt:
      * platform/qt/svg/custom/font-face-simple-expected.png:
      * platform/qt/svg/custom/font-face-simple-expected.txt:
      * platform/qt/svg/custom/foreign-object-skew-expected.png:
      * platform/qt/svg/custom/foreign-object-skew-expected.txt:
      * platform/qt/svg/custom/foreignObject-crash-on-hover-expected.png:
      * platform/qt/svg/custom/foreignObject-crash-on-hover-expected.txt:
      * platform/qt/svg/custom/getPresentationAttribute-expected.png:
      * platform/qt/svg/custom/getPresentationAttribute-expected.txt:
      * platform/qt/svg/custom/getTransformToElement-expected.png:
      * platform/qt/svg/custom/getTransformToElement-expected.txt:
      * platform/qt/svg/custom/getscreenctm-in-mixed-content-expected.png:
      * platform/qt/svg/custom/getscreenctm-in-mixed-content-expected.txt:
      * platform/qt/svg/custom/getscreenctm-in-scrollable-div-area-expected.png:
      * platform/qt/svg/custom/getscreenctm-in-scrollable-div-area-expected.txt:
      * platform/qt/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.png:
      * platform/qt/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.txt:
      * platform/qt/svg/custom/getscreenctm-in-scrollable-svg-area-expected.png:
      * platform/qt/svg/custom/getscreenctm-in-scrollable-svg-area-expected.txt:
      * platform/qt/svg/custom/getsvgdocument-expected.png:
      * platform/qt/svg/custom/getsvgdocument-expected.txt:
      * platform/qt/svg/custom/glyph-selection-arabic-forms-expected.png: Added.
      * platform/qt/svg/custom/glyph-selection-arabic-forms-expected.txt:
      * platform/qt/svg/custom/glyph-selection-bidi-mirror-expected.png: Copied from LayoutTests/platform/qt-5.0/svg/custom/glyph-selection-non-bmp-expected.png.
      * platform/qt/svg/custom/glyph-selection-bidi-mirror-expected.txt:
      * platform/qt/svg/custom/glyph-selection-non-bmp-expected.png: Renamed from LayoutTests/platform/qt-5.0/svg/custom/glyph-selection-non-bmp-expected.png.
      * platform/qt/svg/custom/glyph-selection-non-bmp-expected.txt:
      * platform/qt/svg/custom/glyph-transformation-with-hkern-expected.png:
      * platform/qt/svg/custom/glyph-transformation-with-hkern-expected.txt:
      * platform/qt/svg/custom/gradient-cycle-detection-expected.png:
      * platform/qt/svg/custom/gradient-cycle-detection-expected.txt:
      * platform/qt/svg/custom/gradient-deep-referencing-expected.png:
      * platform/qt/svg/custom/gradient-deep-referencing-expected.txt:
      * platform/qt/svg/custom/gradient-with-1d-boundingbox-expected.png: Added.
      * platform/qt/svg/custom/gradient-with-1d-boundingbox-expected.txt:
      * platform/qt/svg/custom/hit-test-path-expected.png:
      * platform/qt/svg/custom/hit-test-path-expected.txt:
      * platform/qt/svg/custom/hit-test-path-stroke-expected.png:
      * platform/qt/svg/custom/hit-test-path-stroke-expected.txt:
      * platform/qt/svg/custom/hit-test-unclosed-subpaths-expected.png:
      * platform/qt/svg/custom/hit-test-unclosed-subpaths-expected.txt:
      * platform/qt/svg/custom/image-parent-translation-expected.png:
      * platform/qt/svg/custom/image-parent-translation-expected.txt:
      * platform/qt/svg/custom/image-rescale-clip-expected.png:
      * platform/qt/svg/custom/image-rescale-clip-expected.txt:
      * platform/qt/svg/custom/image-rescale-scroll-expected.png:
      * platform/qt/svg/custom/image-rescale-scroll-expected.txt:
      * platform/qt/svg/custom/image-small-width-height-expected.png:
      * platform/qt/svg/custom/image-small-width-height-expected.txt:
      * platform/qt/svg/custom/image-with-transform-clip-filter-expected.png:
      * platform/qt/svg/custom/image-with-transform-clip-filter-expected.txt:
      * platform/qt/svg/custom/inline-svg-in-xhtml-expected.png:
      * platform/qt/svg/custom/inline-svg-in-xhtml-expected.txt:
      * platform/qt/svg/custom/invalid-css-expected.png:
      * platform/qt/svg/custom/invalid-css-expected.txt:
      * platform/qt/svg/custom/invalid-fill-expected.png:
      * platform/qt/svg/custom/invalid-fill-expected.txt:
      * platform/qt/svg/custom/invalid-fill-hex-expected.png:
      * platform/qt/svg/custom/invalid-fill-hex-expected.txt:
      * platform/qt/svg/custom/invalid-lengthlist-expected.png:
      * platform/qt/svg/custom/invalid-lengthlist-expected.txt:
      * platform/qt/svg/custom/invalid-stroke-hex-expected.png: Added.
      * platform/qt/svg/custom/invalid-stroke-hex-expected.txt:
      * platform/qt/svg/custom/invalid-uri-stroke-expected.png: Added.
      * platform/qt/svg/custom/invalid-uri-stroke-expected.txt:
      * platform/qt/svg/custom/invisible-text-after-scrolling-expected.png:
      * platform/qt/svg/custom/invisible-text-after-scrolling-expected.txt:
      * platform/qt/svg/custom/js-late-clipPath-and-object-creation-expected.png:
      * platform/qt/svg/custom/js-late-clipPath-and-object-creation-expected.txt:
      * platform/qt/svg/custom/js-late-clipPath-creation-expected.png:
      * platform/qt/svg/custom/js-late-clipPath-creation-expected.txt:
      * platform/qt/svg/custom/js-late-gradient-and-object-creation-expected.png:
      * platform/qt/svg/custom/js-late-gradient-and-object-creation-expected.txt:
      * platform/qt/svg/custom/js-late-gradient-creation-expected.png:
      * platform/qt/svg/custom/js-late-gradient-creation-expected.txt:
      * platform/qt/svg/custom/js-update-stop-linked-gradient-expected.png:
      * platform/qt/svg/custom/js-update-stop-linked-gradient-expected.txt:
      * platform/qt/svg/custom/linking-a-03-b-preserveAspectRatio-expected.png:
      * platform/qt/svg/custom/linking-a-03-b-preserveAspectRatio-expected.txt:
      * platform/qt/svg/custom/linking-a-03-b-transform-expected.png:
      * platform/qt/svg/custom/linking-a-03-b-transform-expected.txt:
      * platform/qt/svg/custom/linking-a-03-b-viewBox-expected.png:
      * platform/qt/svg/custom/linking-a-03-b-viewBox-expected.txt:
      * platform/qt/svg/custom/linking-a-03-b-viewBox-transform-expected.png:
      * platform/qt/svg/custom/linking-a-03-b-viewBox-transform-expected.txt:
      * platform/qt/svg/custom/linking-a-03-b-viewTarget-expected.png:
      * platform/qt/svg/custom/linking-a-03-b-viewTarget-expected.txt:
      * platform/qt/svg/custom/linking-a-03-b-zoomAndPan-expected.png:
      * platform/qt/svg/custom/linking-a-03-b-zoomAndPan-expected.txt:
      * platform/qt/svg/custom/linking-base-external-reference-expected.png:
      * platform/qt/svg/custom/linking-base-external-reference-expected.txt:
      * platform/qt/svg/custom/linking-uri-01-b-expected.png:
      * platform/qt/svg/custom/linking-uri-01-b-expected.txt:
      * platform/qt/svg/custom/marker-default-width-height-expected.png:
      * platform/qt/svg/custom/marker-default-width-height-expected.txt:
      * platform/qt/svg/custom/marker-overflow-clip-expected.png:
      * platform/qt/svg/custom/marker-overflow-clip-expected.txt:
      * platform/qt/svg/custom/mouse-move-on-svg-container-expected.png:
      * platform/qt/svg/custom/mouse-move-on-svg-container-expected.txt:
      * platform/qt/svg/custom/mouse-move-on-svg-container-standalone-expected.png:
      * platform/qt/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
      * platform/qt/svg/custom/mouse-move-on-svg-root-expected.png:
      * platform/qt/svg/custom/mouse-move-on-svg-root-expected.txt:
      * platform/qt/svg/custom/mouse-move-on-svg-root-standalone-expected.png:
      * platform/qt/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
      * platform/qt/svg/custom/no-inherited-dashed-stroke-expected.png:
      * platform/qt/svg/custom/no-inherited-dashed-stroke-expected.txt:
      * platform/qt/svg/custom/non-opaque-filters-expected.png:
      * platform/qt/svg/custom/non-opaque-filters-expected.txt:
      * platform/qt/svg/custom/object-no-size-attributes-expected.png:
      * platform/qt/svg/custom/object-no-size-attributes-expected.txt:
      * platform/qt/svg/custom/object-sizing-expected.png:
      * platform/qt/svg/custom/object-sizing-expected.txt:
      * platform/qt/svg/custom/object-sizing-explicit-height-expected.png:
      * platform/qt/svg/custom/object-sizing-explicit-height-expected.txt:
      * platform/qt/svg/custom/object-sizing-explicit-width-expected.png:
      * platform/qt/svg/custom/object-sizing-explicit-width-expected.txt:
      * platform/qt/svg/custom/object-sizing-explicit-width-height-expected.png:
      * platform/qt/svg/custom/object-sizing-explicit-width-height-expected.txt:
      * platform/qt/svg/custom/object-sizing-height-50p-on-target-svg-absolute-expected.png:
      * platform/qt/svg/custom/object-sizing-height-50p-on-target-svg-absolute-expected.txt:
      * platform/qt/svg/custom/object-sizing-height-50p-on-target-svg-expected.png:
      * platform/qt/svg/custom/object-sizing-height-50p-on-target-svg-expected.txt:
      * platform/qt/svg/custom/object-sizing-no-width-height-expected.png:
      * platform/qt/svg/custom/object-sizing-no-width-height-expected.txt:
      * platform/qt/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-absolute-expected.png:
      * platform/qt/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-absolute-expected.txt:
      * platform/qt/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-expected.png:
      * platform/qt/svg/custom/object-sizing-width-50p-height-50p-on-target-svg-expected.txt:
      * platform/qt/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.txt:
      * platform/qt/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-expected.txt:
      * platform/qt/svg/custom/object-sizing-width-50p-on-target-svg-absolute-expected.png:
      * platform/qt/svg/custom/object-sizing-width-50p-on-target-svg-absolute-expected.txt:
      * platform/qt/svg/custom/object-sizing-width-50p-on-target-svg-expected.png:
      * platform/qt/svg/custom/object-sizing-width-50p-on-target-svg-expected.txt:
      * platform/qt/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-absolute-expected.txt:
      * platform/qt/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-expected.png:
      * platform/qt/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-expected.txt:
      * platform/qt/svg/custom/path-textPath-simulation-expected.png:
      * platform/qt/svg/custom/path-textPath-simulation-expected.txt:
      * platform/qt/svg/custom/pattern-cycle-detection-expected.png:
      * platform/qt/svg/custom/pattern-cycle-detection-expected.txt:
      * platform/qt/svg/custom/pattern-deep-referencing-expected.png:
      * platform/qt/svg/custom/pattern-deep-referencing-expected.txt:
      * platform/qt/svg/custom/pattern-incorrect-tiling-expected.png:
      * platform/qt/svg/custom/pattern-incorrect-tiling-expected.txt:
      * platform/qt/svg/custom/pattern-rotate-expected.png:
      * platform/qt/svg/custom/pattern-rotate-expected.txt:
      * platform/qt/svg/custom/pattern-rotate-gaps-expected.png:
      * platform/qt/svg/custom/pattern-rotate-gaps-expected.txt:
      * platform/qt/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.png:
      * platform/qt/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt:
      * platform/qt/svg/custom/pattern-with-transformation-expected.png:
      * platform/qt/svg/custom/pattern-with-transformation-expected.txt:
      * platform/qt/svg/custom/percentage-of-html-parent-expected.png:
      * platform/qt/svg/custom/percentage-of-html-parent-expected.txt:
      * platform/qt/svg/custom/pointer-events-image-css-transform-expected.png:
      * platform/qt/svg/custom/pointer-events-image-css-transform-expected.txt:
      * platform/qt/svg/custom/pointer-events-image-expected.png:
      * platform/qt/svg/custom/pointer-events-image-expected.txt:
      * platform/qt/svg/custom/pointer-events-path-expected.png:
      * platform/qt/svg/custom/pointer-events-path-expected.txt:
      * platform/qt/svg/custom/pointer-events-text-css-transform-expected.png:
      * platform/qt/svg/custom/pointer-events-text-css-transform-expected.txt:
      * platform/qt/svg/custom/pointer-events-text-expected.png:
      * platform/qt/svg/custom/pointer-events-text-expected.txt:
      * platform/qt/svg/custom/preserve-aspect-ratio-syntax-expected.png:
      * platform/qt/svg/custom/preserve-aspect-ratio-syntax-expected.txt:
      * platform/qt/svg/custom/recursive-clippath-expected.png:
      * platform/qt/svg/custom/recursive-clippath-expected.txt:
      * platform/qt/svg/custom/recursive-filter-expected.png:
      * platform/qt/svg/custom/recursive-filter-expected.txt:
      * platform/qt/svg/custom/recursive-gradient-expected.png:
      * platform/qt/svg/custom/recursive-gradient-expected.txt:
      * platform/qt/svg/custom/recursive-mask-expected.png:
      * platform/qt/svg/custom/recursive-mask-expected.txt:
      * platform/qt/svg/custom/recursive-pattern-expected.png:
      * platform/qt/svg/custom/recursive-pattern-expected.txt:
      * platform/qt/svg/custom/relative-sized-content-expected.png: Added.
      * platform/qt/svg/custom/relative-sized-content-expected.txt:
      * platform/qt/svg/custom/relative-sized-content-with-resources-expected.png:
      * platform/qt/svg/custom/relative-sized-content-with-resources-expected.txt:
      * platform/qt/svg/custom/relative-sized-deep-shadow-tree-content-expected.png:
      * platform/qt/svg/custom/relative-sized-deep-shadow-tree-content-expected.txt:
      * platform/qt/svg/custom/relative-sized-image-expected.png:
      * platform/qt/svg/custom/relative-sized-image-expected.txt:
      * platform/qt/svg/custom/relative-sized-inner-svg-expected.png:
      * platform/qt/svg/custom/relative-sized-inner-svg-expected.txt:
      * platform/qt/svg/custom/relative-sized-shadow-tree-content-expected.png:
      * platform/qt/svg/custom/relative-sized-shadow-tree-content-expected.txt:
      * platform/qt/svg/custom/relative-sized-shadow-tree-content-with-symbol-expected.png:
      * platform/qt/svg/custom/relative-sized-shadow-tree-content-with-symbol-expected.txt:
      * platform/qt/svg/custom/relative-sized-use-on-symbol-expected.png:
      * platform/qt/svg/custom/relative-sized-use-on-symbol-expected.txt:
      * platform/qt/svg/custom/relative-sized-use-without-attributes-on-symbol-expected.png:
      * platform/qt/svg/custom/relative-sized-use-without-attributes-on-symbol-expected.txt:
      * platform/qt/svg/custom/rootmost-svg-xy-attrs-expected.png:
      * platform/qt/svg/custom/rootmost-svg-xy-attrs-expected.txt:
      * platform/qt/svg/custom/scroll-hit-test-expected.png:
      * platform/qt/svg/custom/scroll-hit-test-expected.txt:
      * platform/qt/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
      * platform/qt/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
      * platform/qt/svg/custom/second-inline-text-expected.png:
      * platform/qt/svg/custom/second-inline-text-expected.txt:
      * platform/qt/svg/custom/shape-rendering-expected.png:
      * platform/qt/svg/custom/shape-rendering-expected.txt:
      * platform/qt/svg/custom/shapes-supporting-markers-expected.png:
      * platform/qt/svg/custom/shapes-supporting-markers-expected.txt:
      * platform/qt/svg/custom/simple-text-double-shadow-expected.png:
      * platform/qt/svg/custom/simple-text-double-shadow-expected.txt:
      * platform/qt/svg/custom/simpleCDF-expected.png:
      * platform/qt/svg/custom/simpleCDF-expected.txt:
      * platform/qt/svg/custom/stroke-fallback-expected.png:
      * platform/qt/svg/custom/stroke-fallback-expected.txt:
      * platform/qt/svg/custom/stroke-width-large-expected.png:
      * platform/qt/svg/custom/stroke-width-large-expected.txt:
      * platform/qt/svg/custom/stroked-pattern-expected.png:
      * platform/qt/svg/custom/stroked-pattern-expected.txt:
      * platform/qt/svg/custom/style-attribute-font-size-expected.png:
      * platform/qt/svg/custom/style-attribute-font-size-expected.txt:
      * platform/qt/svg/custom/svg-curve-with-relative-cordinates-expected.png:
      * platform/qt/svg/custom/svg-curve-with-relative-cordinates-expected.txt:
      * platform/qt/svg/custom/svg-features-expected.txt:
      * platform/qt/svg/custom/svg-float-border-padding-expected.png:
      * platform/qt/svg/custom/svg-float-border-padding-expected.txt:
      * platform/qt/svg/custom/svg-fonts-in-html-expected.png:
      * platform/qt/svg/custom/svg-fonts-in-html-expected.txt:
      * platform/qt/svg/custom/svg-fonts-in-text-controls-expected.txt:
      * platform/qt/svg/custom/svg-fonts-segmented-expected.png:
      * platform/qt/svg/custom/svg-fonts-segmented-expected.txt:
      * platform/qt/svg/custom/svg-fonts-without-missing-glyph-expected.png:
      * platform/qt/svg/custom/svg-fonts-without-missing-glyph-expected.txt:
      * platform/qt/svg/custom/svg-fonts-word-spacing-expected.png:
      * platform/qt/svg/custom/svg-fonts-word-spacing-expected.txt:
      * platform/qt/svg/custom/svg-overflow-types-expected.png:
      * platform/qt/svg/custom/svg-overflow-types-expected.txt:
      * platform/qt/svg/custom/text-clip-expected.png:
      * platform/qt/svg/custom/text-clip-expected.txt:
      * platform/qt/svg/custom/text-ctm-expected.png:
      * platform/qt/svg/custom/text-ctm-expected.txt:
      * platform/qt/svg/custom/text-decoration-visibility-expected.png:
      * platform/qt/svg/custom/text-decoration-visibility-expected.txt:
      * platform/qt/svg/custom/text-dom-01-f-expected.png:
      * platform/qt/svg/custom/text-dom-01-f-expected.txt:
      * platform/qt/svg/custom/text-filter-expected.png:
      * platform/qt/svg/custom/text-filter-expected.txt:
      * platform/qt/svg/custom/text-hit-test-expected.png:
      * platform/qt/svg/custom/text-hit-test-expected.txt:
      * platform/qt/svg/custom/text-image-opacity-expected.png:
      * platform/qt/svg/custom/text-image-opacity-expected.txt:
      * platform/qt/svg/custom/text-letter-spacing-expected.png:
      * platform/qt/svg/custom/text-letter-spacing-expected.txt:
      * platform/qt/svg/custom/text-linking-expected.png:
      * platform/qt/svg/custom/text-linking-expected.txt:
      * platform/qt/svg/custom/text-repaint-including-stroke-expected.png:
      * platform/qt/svg/custom/text-repaint-including-stroke-expected.txt:
      * platform/qt/svg/custom/text-rotated-gradient-expected.png:
      * platform/qt/svg/custom/text-rotated-gradient-expected.txt:
      * platform/qt/svg/custom/text-rotation-expected.png:
      * platform/qt/svg/custom/text-rotation-expected.txt:
      * platform/qt/svg/custom/text-tref-03-b-change-href-dom-expected.png:
      * platform/qt/svg/custom/text-tref-03-b-change-href-dom-expected.txt:
      * platform/qt/svg/custom/text-tref-03-b-change-href-expected.png:
      * platform/qt/svg/custom/text-tref-03-b-change-href-expected.txt:
      * platform/qt/svg/custom/text-tref-03-b-referenced-element-removal-expected.png:
      * platform/qt/svg/custom/text-tref-03-b-referenced-element-removal-expected.txt:
      * platform/qt/svg/custom/text-tref-03-b-tref-removal-expected.png:
      * platform/qt/svg/custom/text-tref-03-b-tref-removal-expected.txt:
      * platform/qt/svg/custom/text-whitespace-handling-expected.png:
      * platform/qt/svg/custom/text-whitespace-handling-expected.txt:
      * platform/qt/svg/custom/text-x-dx-lists-expected.png:
      * platform/qt/svg/custom/text-x-dx-lists-expected.txt:
      * platform/qt/svg/custom/text-x-dy-lists-expected.png:
      * platform/qt/svg/custom/text-x-dy-lists-expected.txt:
      * platform/qt/svg/custom/text-x-override-in-tspan-child-expected.png:
      * platform/qt/svg/custom/text-x-override-in-tspan-child-expected.txt:
      * platform/qt/svg/custom/text-xy-updates-SVGList-expected.png:
      * platform/qt/svg/custom/text-xy-updates-SVGList-expected.txt:
      * platform/qt/svg/custom/text-xy-updates-expected.png:
      * platform/qt/svg/custom/text-xy-updates-expected.txt:
      * platform/qt/svg/custom/tref-own-content-removal-expected.png:
      * platform/qt/svg/custom/tref-own-content-removal-expected.txt:
      * platform/qt/svg/custom/tref-update-expected.png:
      * platform/qt/svg/custom/tref-update-expected.txt:
      * platform/qt/svg/custom/use-clipped-hit-expected.png:
      * platform/qt/svg/custom/use-clipped-hit-expected.txt:
      * platform/qt/svg/custom/use-detach-expected.png:
      * platform/qt/svg/custom/use-detach-expected.txt:
      * platform/qt/svg/custom/use-dynamic-append-expected.png:
      * platform/qt/svg/custom/use-dynamic-append-expected.txt:
      * platform/qt/svg/custom/use-elementInstance-event-target-expected.png:
      * platform/qt/svg/custom/use-elementInstance-event-target-expected.txt:
      * platform/qt/svg/custom/use-elementInstance-methods-expected.png:
      * platform/qt/svg/custom/use-elementInstance-methods-expected.txt:
      * platform/qt/svg/custom/use-event-handler-on-referenced-element-expected.png:
      * platform/qt/svg/custom/use-event-handler-on-referenced-element-expected.txt:
      * platform/qt/svg/custom/use-event-handler-on-use-element-expected.png:
      * platform/qt/svg/custom/use-event-handler-on-use-element-expected.txt:
      * platform/qt/svg/custom/use-events-crash-expected.png:
      * platform/qt/svg/custom/use-events-crash-expected.txt:
      * platform/qt/svg/custom/use-instanceRoot-modifications-expected.png:
      * platform/qt/svg/custom/use-instanceRoot-modifications-expected.txt:
      * platform/qt/svg/custom/use-modify-container-in-target-expected.png:
      * platform/qt/svg/custom/use-modify-container-in-target-expected.txt:
      * platform/qt/svg/custom/use-modify-target-container-expected.png:
      * platform/qt/svg/custom/use-modify-target-container-expected.txt:
      * platform/qt/svg/custom/use-modify-target-symbol-expected.png:
      * platform/qt/svg/custom/use-modify-target-symbol-expected.txt:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-1-expected.png:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-1-expected.txt:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-2-expected.png:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-2-expected.txt:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-3-expected.png:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-3-expected.txt:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-4-expected.png:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-4-expected.txt:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-5-expected.png:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-5-expected.txt:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-6-expected.png:
      * platform/qt/svg/custom/use-on-disallowed-foreign-object-6-expected.txt:
      * platform/qt/svg/custom/use-on-g-containing-symbol-expected.png:
      * platform/qt/svg/custom/use-on-g-containing-symbol-expected.txt:
      * platform/qt/svg/custom/use-on-g-containing-use-expected.png:
      * platform/qt/svg/custom/use-on-g-containing-use-expected.txt:
      * platform/qt/svg/custom/use-on-g-expected.png:
      * platform/qt/svg/custom/use-on-g-expected.txt:
      * platform/qt/svg/custom/use-on-non-svg-namespaced-element-expected.png:
      * platform/qt/svg/custom/use-on-non-svg-namespaced-element-expected.txt:
      * platform/qt/svg/custom/use-on-rect-expected.png:
      * platform/qt/svg/custom/use-on-rect-expected.txt:
      * platform/qt/svg/custom/use-on-symbol-expected.png:
      * platform/qt/svg/custom/use-on-symbol-expected.txt:
      * platform/qt/svg/custom/use-on-text-expected.png:
      * platform/qt/svg/custom/use-on-text-expected.txt:
      * platform/qt/svg/custom/use-on-use-expected.png:
      * platform/qt/svg/custom/use-on-use-expected.txt:
      * platform/qt/svg/custom/use-property-changes-through-dom-expected.png:
      * platform/qt/svg/custom/use-property-changes-through-dom-expected.txt:
      * platform/qt/svg/custom/use-property-changes-through-svg-dom-expected.png:
      * platform/qt/svg/custom/use-property-changes-through-svg-dom-expected.txt:
      * platform/qt/svg/custom/use-recursion-1-expected.png:
      * platform/qt/svg/custom/use-recursion-1-expected.txt:
      * platform/qt/svg/custom/use-recursion-2-expected.png:
      * platform/qt/svg/custom/use-recursion-2-expected.txt:
      * platform/qt/svg/custom/use-recursion-3-expected.png:
      * platform/qt/svg/custom/use-recursion-3-expected.txt:
      * platform/qt/svg/custom/use-recursion-4-expected.png:
      * platform/qt/svg/custom/use-recursion-4-expected.txt:
      * platform/qt/svg/custom/use-referencing-nonexisting-symbol-expected.png:
      * platform/qt/svg/custom/use-referencing-nonexisting-symbol-expected.txt:
      * platform/qt/svg/custom/use-setAttribute-crash-expected.png:
      * platform/qt/svg/custom/use-setAttribute-crash-expected.txt:
      * platform/qt/svg/custom/use-transform-expected.png:
      * platform/qt/svg/custom/use-transform-expected.txt:
      * platform/qt/svg/custom/viewbox-syntax-expected.png:
      * platform/qt/svg/custom/viewbox-syntax-expected.txt:
      * platform/qt/svg/custom/viewport-em-expected.png:
      * platform/qt/svg/custom/viewport-em-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35a5f218
    • dpranke@chromium.org's avatar
      nrwt: print filtered stderr after a crash correctly · 9e518efe
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92428
      
      Reviewed by Adam Barth.
      
      Some ports will run the stderr output from DRT/WTR through a
      filter after a crash in order to print a more useful stack
      trace; while that gets written to the crash log correctly, we
      don't log it to the debug output properly. This change fixes
      that and makes it clearer that we're logging stderr, not the
      crash log.
      
      * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py:
      (SingleTestRunner._handle_error):
      * Scripts/webkitpy/layout_tests/port/base.py:
      (Port._get_crash_log):
      * Scripts/webkitpy/layout_tests/port/chromium.py:
      (ChromiumPort._get_crash_log):
      * Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
      (ChromiumAndroidPortTest.test_get_crash_log):
      * Scripts/webkitpy/layout_tests/port/driver.py:
      (Driver.run_test):
      * Scripts/webkitpy/layout_tests/port/gtk.py:
      * Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
      * Scripts/webkitpy/layout_tests/port/mac.py:
      (MacPort._get_crash_log):
      * Scripts/webkitpy/layout_tests/port/port_testcase.py:
      (PortTestCase.test_get_crash_log):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e518efe
    • noam.rosenthal@nokia.com's avatar
      [Texmap] Performance regression in texture uploads after r121223 · eae63a44
      noam.rosenthal@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=91897
      
      Reviewed by Jocelyn Turcotte.
      
      Rolling out r121223, with some conflict fixes.
      
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore::swizzleBGRAToRGBA):
      (WebCore):
      (WebCore::driverSupportsBGRASwizzling):
      (WebCore::BitmapTextureGL::didReset):
      (WebCore::BitmapTextureGL::updateContents):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eae63a44
    • dpranke@chromium.org's avatar
      nrwt: move image diffing code to a separate module · 0d0816da
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92447
      
      Reviewed by Ryosuke Niwa.
      
      This patch moves the code to talk to ImageDiff into its own
      module, and adds more tests for it. In addition, the patch
      modifies diff_image() so that we don't automatically stop
      ImageDiff after a single invocation, and thus subsequent
      diffs may be slightly faster. (Note that the chromium ports
      don't use any of this code; that is not changed by this patch).
      
      The main motivation for this change is to move more "generic"
      code out of the port/* classes, and in particular to move more
      code out of webkit.py so that we can eventually eliminate it by
      merging it into base.py.
      
      This patch also splits MockServerProcess out from driver_unittest.py
      so that it can be re-used.
      
      * Scripts/webkitpy/layout_tests/port/base.py:
      (Port.__init__):
      (Port.diff_image):
      (Port.clean_up_test_run):
      * Scripts/webkitpy/layout_tests/port/driver.py:
      (Driver.__init__):
      (Driver._start):
      * Scripts/webkitpy/layout_tests/port/driver_unittest.py:
      (DriverTest.test_stop_cleans_up_properly):
      (DriverTest.test_two_starts_cleans_up_properly):
      (DriverTest.test_start_actually_starts):
      * Scripts/webkitpy/layout_tests/port/efl.py:
      (EflPort.clean_up_test_run):
      * Scripts/webkitpy/layout_tests/port/gtk.py:
      (GtkPort.clean_up_test_run):
      * Scripts/webkitpy/layout_tests/port/image_diff.py: Added.
      (ImageDiffer):
      (ImageDiffer.__init__):
      (ImageDiffer.diff_image):
      (ImageDiffer._start):
      (ImageDiffer._read):
      (ImageDiffer.stop):
      * Scripts/webkitpy/layout_tests/port/image_diff_unittest.py: Added.
      (for):
      (FakePort):
      (FakePort.__init__):
      (FakePort._path_to_image_diff):
      (FakePort.setup_environ_for_server):
      (TestImageDiffer):
      (TestImageDiffer.test_diff_image):
      * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
      (MockDRTPortTest.test_diff_image):
      * Scripts/webkitpy/layout_tests/port/port_testcase.py:
      (PortTestCase.test_diff_image__missing_both):
      (PortTestCase.test_diff_image):
      (PortTestCase.test_diff_image.make_proc):
      * Scripts/webkitpy/layout_tests/port/server_process.py:
      (ServerProcess._start):
      * Scripts/webkitpy/layout_tests/port/server_process_mock.py: Added.
      (MockServerProcess):
      (MockServerProcess.__init__):
      (MockServerProcess.write):
      (MockServerProcess.has_crashed):
      (MockServerProcess.read_stdout_line):
      (MockServerProcess.read_stdout):
      (MockServerProcess.pop_all_buffered_stderr):
      (MockServerProcess.read_either_stdout_or_stderr_line):
      (MockServerProcess.start):
      (MockServerProcess.stop):
      (MockServerProcess.kill):
      * Scripts/webkitpy/layout_tests/port/webkit.py:
      (WebKitPort._build_driver_flags):
      (WebKitPort._symbols_string):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d0816da
    • commit-queue@webkit.org's avatar
      Activate committer bit granted April 6th so I can garden. · 091db9e0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92500
      
      Patch by Tom Hudson <hudson@google.com> on 2012-07-27
      Reviewed by Jochen Eisinger.
      
      * Scripts/webkitpy/common/config/committers.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123892 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      091db9e0
    • commit-queue@webkit.org's avatar
      [BlackBerry] Should support onbeforeunload event and show confirmation dialog · e7177672
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92510
      
      Patch by Yong Li <yoli@rim.com> on 2012-07-27
      Reviewed by Antonio Gomes.
      
      RIM PR# 155878.
      1. Export dispatchBeforeUnloadEvent() so client can call it before going to close the page.
      2. Forward runBeforeUnloadConfirmPanel() call to client so it can show a dialog.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPage::dispatchBeforeUnloadEvent):
      (WebKit):
      * Api/WebPage.h:
      * Api/WebPageClient.h:
      * WebCoreSupport/ChromeClientBlackBerry.cpp:
      (WebCore::ChromeClientBlackBerry::canRunBeforeUnloadConfirmPanel):
      (WebCore::ChromeClientBlackBerry::runBeforeUnloadConfirmPanel):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7177672
    • commit-queue@webkit.org's avatar
      [BlackBerry] Update NetworkJob::sendRequestWithCredentials to use new getProxyAddress API · 120ad063
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92457
      
      Patch by Joe Mason <jmason@rim.com> on 2012-07-27
      Reviewed by Yong Li.
      
      getProxyAddress now returns "host:port", and getProxyPort is gone. Update NetworkJob to use
      the new interface.
      
      RIM PR: 176166
      Internally reviewed by Jonathan Dong <jonathan.dong@torchmobile.com.cn>
      
      * platform/network/blackberry/NetworkJob.cpp:
      (WebCore::NetworkJob::sendRequestWithCredentials):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      120ad063
    • commit-queue@webkit.org's avatar
      Improve touch adjustment for targetting small controls. · cfdf5931
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92293
      
      Patch by Kevin Ellis <kevers@chromium.org> on 2012-07-27
      Reviewed by Antonio Gomes.
      
      Source/WebCore:
      
      Modifies the touch adjustment algorithm to better discriminate small targets without introducing
      a bias towards shorter links.  The revised scoring algorihtm uses a normalized distance to
      center-line score and a normalized overlap score.  The better of the two scores is used for
      determining the best candidate for target adjustment.  The center-line score works well
      for discriminating elements with partial overlaps, where relying solely on percent overlap
      could bias towards the smaller element.  Conversely, a high percentage in overlap provides a
      strong measure of confidence in a candidate target.  An additonal tie-break algorithm is
      introduced to minimize the adjustment distance if two equally suitable candidates are found.
      
      Test: touchadjustment/small-target-test.html
      
      * page/TouchAdjustment.cpp:
      (TouchAdjustment):
      (WebCore::TouchAdjustment::nodeRespondsToTapGesture):
      (WebCore::TouchAdjustment::hybridDistanceFunction):
      (WebCore::TouchAdjustment::findNodeWithLowestDistanceMetric):
      (WebCore::findBestClickableCandidate):
      
      LayoutTests:
      
      Adds a test for cases that were problematic for the touch adjustment algorithm.  Each example
      in the test involves a small control immediately adjacent to a larger control.  When the touch
      area is significantly larger than the small control, it was possible for the touch element to
      completely overlap the control yet select an adjacent element with a partial overlap.
      
      * touchadjustment/small-target-test-expected.txt: Added.
      * touchadjustment/small-target-test.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfdf5931
    • commit-queue@webkit.org's avatar
      [chromium] Calendar for input type=date should be larger on devices that support touch input. · 82b5b45a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92424
      
      Patch by Kevin Ellis <kevers@chromium.org> on 2012-07-27
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      Adds touch specific CSS rules to enlarge entries in the calendar on
      screens that support touch input.
      
      Manually tested with touch support enabled/disabled.
      
      * Resources/calendarPicker.css:
      (@media (pointer:coarse)):
      * html/shadow/CalendarPickerElement.cpp:
      (WebCore::CalendarPickerElement::contentSize):
      
      Source/WebKit/chromium:
      
      Plumbs the deviceSupportsTouch setting through to the popup page so
      that the Calendar popup can be enlarged on screens that support touch
      input.
      
      * src/WebPagePopupImpl.cpp:
      (WebKit::WebPagePopupImpl::initPage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82b5b45a
    • commit-queue@webkit.org's avatar
      [EFL] Add missing baselines for fast/table/table-row-outline-paint.html · e3466482
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92509
      
      Unreviewed EFL gardening, add missing results for
      fast/table/table-row-outline-paint.html after r123793.
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-27
      
      * platform/efl/fast/table/table-row-outline-paint-expected.png: Added.
      * platform/efl/fast/table/table-row-outline-paint-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3466482
    • commit-queue@webkit.org's avatar
      Lose a timer in prerender-remove-after-stop.html · e05b620b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92425
      
      Patch by Gavin Peters <gavinp@chromium.org> on 2012-07-27
      Reviewed by Nate Chapin.
      
      japhet suggested that the timer wasn't needed, and testing revealed that the test works without it. I've tested that if the bug is reintroduced
      that it crashes, and of course it doesn't crash with the fix. So bye-bye setTimeout!
      
      * fast/dom/HTMLLinkElement/prerender-remove-after-stop.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e05b620b