Rebaseline some compositing tests that are sensitive to the visible rect, and skip
tests that rely on media loading.

* platform/ios-simulator/TestExpectations:
* platform/ios-simulator/compositing/columns/hittest-composited-in-paginated-expected.txt:
* platform/ios-simulator/compositing/contents-scale/animating-expected.txt:
* platform/ios-simulator/compositing/contents-scale/rounded-contents-scale-expected.txt:
* platform/ios-simulator/compositing/contents-scale/scaled-ancestor-expected.txt:
* platform/ios-simulator/compositing/contents-scale/simple-scale-expected.txt:
* platform/ios-simulator/compositing/contents-scale/z-translate-expected.txt:
* platform/ios-simulator/compositing/geometry/partial-layout-update-expected.txt:
* platform/ios-simulator/compositing/geometry/root-layer-update-expected.txt:
* platform/ios-simulator/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt:
* platform/ios-simulator/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt:
* platform/ios-simulator/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt:
* platform/ios-simulator/compositing/overflow/overflow-positioning-expected.txt:
* platform/ios-simulator/compositing/tiling/rotated-tiled-clamped-expected.txt:
* platform/ios-simulator/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
* platform/ios-simulator/compositing/tiling/tile-cache-zoomed-expected.txt:
* platform/ios-simulator/compositing/tiling/tiled-layer-resize-expected.txt:
* platform/ios-simulator/compositing/transitions/singular-scale-transition-expected.txt:
* platform/ios-simulator/compositing/visible-rect/2d-transformed-expected.txt:
* platform/ios-simulator/compositing/visible-rect/3d-transform-style-expected.txt:
* platform/ios-simulator/compositing/visible-rect/3d-transformed-expected.txt:
* platform/ios-simulator/compositing/visible-rect/animated-expected.txt:
* platform/ios-simulator/compositing/visible-rect/animated-from-none-expected.txt:
* platform/ios-simulator/compositing/visible-rect/clipped-by-viewport-expected.txt:
* platform/ios-simulator/compositing/visible-rect/clipped-visible-rect-expected.txt:
* platform/ios-simulator/compositing/visible-rect/flipped-preserve-3d-expected.txt:
* platform/ios-simulator/compositing/visible-rect/iframe-and-layers-expected.txt:
* platform/ios-simulator/compositing/visible-rect/nested-transform-expected.txt:
* platform/ios-simulator/compositing/visible-rect/scrolled-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] DRT stderr logging after the test completes gets attributed to the next test

Reviewed by Alexey Proskuryakov.

DRT would send "#EOF" to stderr just after doing so to stdout, which cause any later
logging to stderr to get associated with the next test.

Fix by logging #EOF to stderr later, after we've completely finished with this test.

* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpTestResults):
(runTest):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Introduce an isCSSAnimated flag on RenderElement for performance
https://bugs.webkit.org/show_bug.cgi?id=137583

Reviewed by Simon Fraser.

I noticed when profiling the ebay.com page load that isRunningAnimationOnRenderer()
and isRunningAcceleratedAnimationOnRenderer() were called frequently, causing
~4.7 millions m_compositeAnimations HashMap lookups.

This patch introduces an isCSSAnimated flag on RenderElement to return early if
there is no animation on the renderer, thus avoiding HashMap lookups. This reduces
the number of HashMap lookups from ~4.7 millions to ~68k. On my machine, I see
the following performance improvements:
- isRunning*AnimationOnRenderer() / computeCompositingRequirements()
  - before: ~45ms  / ~90ms
  - after:  ~4ms / ~30ms

No new tests, no behavior change.

* page/animation/AnimationController.cpp:
(WebCore::AnimationControllerPrivate::ensureCompositeAnimation):
(WebCore::AnimationControllerPrivate::clear):
(WebCore::AnimationControllerPrivate::isRunningAnimationOnRenderer):
(WebCore::AnimationControllerPrivate::isRunningAcceleratedAnimationOnRenderer):
(WebCore::AnimationController::isRunningAnimationOnRenderer):
(WebCore::AnimationController::isRunningAcceleratedAnimationOnRenderer):
* rendering/RenderElement.cpp:
(WebCore::RenderElement::RenderElement):
* rendering/RenderElement.h:
(WebCore::RenderElement::isCSSAnimating):
(WebCore::RenderElement::setIsCSSAnimating):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Improve debug description of WAKViews
https://bugs.webkit.org/show_bug.cgi?id=137716

Reviewed by Simon Fraser.

Source/WebCore:

No new tests because there is no behavior change.

* platform/ios/wak/WAKView.mm:
(-[WAKView description]):
* platform/ios/wak/WKView.h:
* platform/ios/wak/WKView.mm:
(WKViewGetOrigin):

Source/WebKit/mac:

* WebView/WebView.mm:
(-[WebView _touchEventRegions]): Adding a comment.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Hide the find indicator when starting a swipe
https://bugs.webkit.org/show_bug.cgi?id=137711

Reviewed by Tim Horton.

* UIProcess/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::navigationGestureDidBegin):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Windows] Unreviewed gardening following r174585.

* platform/win/TestExpectations:
* platform/win/editing/inserting/4960120-1-expected.txt: Added.
* platform/win/editing/selection/select-across-readonly-input-1-expected.txt: Added.
* platform/win/editing/selection/select-across-readonly-input-2-expected.txt: Added.
* platform/win/editing/selection/select-across-readonly-input-3-expected.txt: Added.
* platform/win/editing/selection/select-across-readonly-input-4-expected.png: Added.
* platform/win/editing/selection/select-across-readonly-input-4-expected.txt: Added.
* platform/win/editing/selection/select-across-readonly-input-5-expected.png: Added.
* platform/win/editing/selection/select-across-readonly-input-5-expected.txt: Added.
* platform/win/fast/block/positioning/inline-block-relposition-expected.txt: Added.
* platform/win/fast/css/resize-corner-tracking-expected.png: Added.
* platform/win/fast/css/resize-corner-tracking-expected.txt: Added.
* platform/win/fast/css/text-input-with-webkit-border-radius-expected.txt: Added.
* platform/win/fast/dom/html-link-element-activation-behavior-url-is-null-expected.txt: Added.
* platform/win/fast/dynamic/positioned-movement-with-positioned-children-expected.txt: Added.
* platform/win/fast/events/shadow-event-path-2-expected.txt: Added.
* platform/win/fast/forms/003-expected.txt: Added.
* platform/win/fast/forms/004-expected.txt: Added.
* platform/win/fast/forms/button-default-title-expected.txt: Added.
* platform/win/fast/forms/button-generated-content-expected.png: Added.
* platform/win/fast/forms/button-generated-content-expected.txt: Added.
* platform/win/fast/forms/menulist-clip-expected.png: Added.
* platform/win/fast/forms/menulist-clip-expected.txt: Added.
* platform/win/fast/forms/menulist-deselect-update-expected.txt: Added.
* platform/win/fast/forms/menulist-style-color-expected.png: Added.
* platform/win/fast/forms/menulist-style-color-expected.txt: Added.
* platform/win/fast/forms/menulist-width-change-expected.txt: Added.
* platform/win/fast/forms/option-script-expected.txt: Added.
* platform/win/fast/forms/option-text-clip-expected.png: Added.
* platform/win/fast/forms/option-text-clip-expected.txt: Added.
* platform/win/fast/forms/select-writing-direction-natural-expected.png: Added.
* platform/win/fast/forms/select-writing-direction-natural-expected.txt: Added.
* platform/win/fast/forms/textarea-placeholder-visibility-1-expected.txt: Added.
* platform/win/fast/forms/textarea-placeholder-visibility-2-expected.txt: Added.
* platform/win/fast/forms/textarea-scrollbar-expected.png: Added.
* platform/win/fast/forms/textarea-scrollbar-expected.txt: Added.
* platform/win/fast/repaint/control-clip-expected.png: Added.
* platform/win/fast/repaint/control-clip-expected.txt: Added.
* platform/win/fast/repaint/selection-gap-fixed-child-expected.txt: Added.
* platform/win/fast/repaint/selection-gap-flipped-fixed-child-expected.txt: Added.
* platform/win/fast/table/append-cells2-expected.txt: Added.
* platform/win/fast/table/remove-td-display-none-expected.txt: Added.
* platform/win/fast/text/atsui-rtl-override-selection-expected.txt: Added.
* platform/win/tables/mozilla/bugs/bug30559-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Re-adding fast/hidpi/image-srcset-relative-svg-canvas.html, as it still fails on bots

* TestExpectations:



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