DevTools: Implement Styles search and Computed style filter

The user can search styles by property name, value, or rule selector.
Computed style properties are filtered, so that only matching ones are visible.

R=eustas, pfeldman, vsevik
BUG=278852

Review URL: https://codereview.chromium.org/129793013

git-svn-id: svn://svn.chromium.org/blink/trunk@169860 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: fix User-Agent for Samsung Galaxy S4

This patch updates User-Agent for Samsung Galaxy S4.

BUG=354920
TBR=pfeldman, apavlov

Review URL: https://codereview.chromium.org/210043002

git-svn-id: svn://svn.chromium.org/blink/trunk@169861 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark virtual/threaded/animations/3d/transform-perspective.html as timing out on debug

Mark the virtual/threaded/animations/3d/transform-perspective.html test
as timing out on all debug bots as per flakiness dashboard data.

BUG=248938
TBR=ajuma@chromium.org

Review URL: https://codereview.chromium.org/200123004

git-svn-id: svn://svn.chromium.org/blink/trunk@169862 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove the url parameter from blink::Platform::userAgent since it's not used anymore.

BUG=304341

Review URL: https://codereview.chromium.org/208923002

git-svn-id: svn://svn.chromium.org/blink/trunk@169863 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add hover affordance for checkboxes.

BUG=353991
NOTRY=true

Review URL: https://codereview.chromium.org/208393016

git-svn-id: svn://svn.chromium.org/blink/trunk@169864 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rely on 'memcpy' in WTF::copyChars

Before the change 'WTF::copyChars' contained an algorithm that was used
instead of 'memcpy' if the number of characters had been less than 20.

This however was unnecessary as 'memcpy' produces more efficient asm code
than the home-brewed algorithm did as it uses 'movq' (instead of 'movl')
doing the copying within the less number of asm commands (tested with
GCC 4.6.3).

So, this patch removes the home-brewed algorithm from 'WTF::copyChars'
and makes it always rely on 'memcpy'.

A simple testing programm doing the following code

    for (int i = 10000000; --i;) {
        // Re-create 'src' to prevent from optimizing cycle iterations out.
        char* src = new char[15];
        copyChars(dest, src, 15);
        copyChars(dest, src, 14);
        delete[] src;
    }

takes:

0m0.324s before the change
0m0.235s after the change (using 'memcpy').

Review URL: https://codereview.chromium.org/210013002

git-svn-id: svn://svn.chromium.org/blink/trunk@169865 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Shrink RenderLayerCompositor by 5% by removing unused code

Remove has3DContent, layerHas3DContent
The last vestiges of these functions were removed with
https://src.chromium.org/viewvc/blink?revision=167695&view=revision
when Abarth removed isSoftwareRenderable.

Remove computeFixedViewportConstraints, computeStickyViewportConstraints
Jamesr removed the last callers in
https://src.chromium.org/viewvc/blink?view=rev&revision=147653

Remove clearMappingForAllRenderLayers, clearMappingForRenderLayerIncludingDescendants
These functions were added (under a different name) by Simon Fraser in
http://trac.webkit.org/changeset/90484. Jamesr removed the caller
in https://codereview.chromium.org/13818029.

Remove setCompositingParent, removeCompositedChildren
This code predates written history and possibly humankind.

Remove updateLayerTreeGeometry
Abarth removed the implementation but left the function definition in
https://src.chromium.org/viewvc/blink?view=rev&revision=168244

Remove updateGraphicsLayersMappedToRenderLayer
Abarth removed the implementation but left the function definition in
https://src.chromium.org/viewvc/blink?view=rev&revision=167697

Remove hasAnyAdditionalCompositedLayers
Shawn Singh removed the implementation but left the function definition
in https://src.chromium.org/viewvc/blink?view=rev&revision=163720

Review URL: https://codereview.chromium.org/209703002

git-svn-id: svn://svn.chromium.org/blink/trunk@169866 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Delete unused files

These files do not appear to be referenced in the build and can therefore be
deleted.

R=adamk@chromium.org

Review URL: https://codereview.chromium.org/199793020

git-svn-id: svn://svn.chromium.org/blink/trunk@169867 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unnecessary paintSkiaText wrapper

Remove paintSkiaText wrapper function that is no longer needed now that we always have SkTypeface.

R=bungeman@chromium.org

Review URL: https://codereview.chromium.org/209113002

git-svn-id: svn://svn.chromium.org/blink/trunk@169868 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark a few more virtual/threaded tests as flaky on win debug

Mark the following layout test as flaky on windows debug builds:
  virtual/threaded/animations/animation-hit-test-transform.html
  virtual/threaded/transitions/blendmode-transitions.html
  virtual/threaded/transitions/cubic-bezier-overflow-svg-length.html
  virtual/threaded/animations/compositor-start-event-timing.html

BUG=248938
TBR=ajuma@chromium.org

Review URL: https://codereview.chromium.org/208393018

git-svn-id: svn://svn.chromium.org/blink/trunk@169869 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix bug in scrollParent

We were early'ing out, but not calling cache->setScrollParent. The result: the
cache thought it was dirty, but it wasn't. This CL fixes that.

BUG=TBD

Review URL: https://codereview.chromium.org/209663007

git-svn-id: svn://svn.chromium.org/blink/trunk@169870 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[SVG2] Add onbegin, onend and onrepeat EventHandlers on SVGAnimationElement

These map to the eventnames 'beginEvent', 'endEvent' and 'repeatEvent'
respectively.

Spec:
https://svgwg.org/svg2-draft/animate.html#InterfaceSVGAnimationElement

BUG=338288
NOTRY=true

Review URL: https://codereview.chromium.org/201673003

git-svn-id: svn://svn.chromium.org/blink/trunk@169871 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove optional type="JavaScript" from script tags

http://www.whatwg.org/specs/web-apps/current-work/#attr-script-type

  The type attribute gives the language of the script or format of the
  data. If the attribute is present, its value must be a valid MIME
  type. The charset parameter must not be specified. The default,
  which is used if the attribute is absent, is "text/javascript"."

Blink is less strict than other browsers. Removing the optional type
attribute enables tests to be run in other browsers, notably Firefox.

BUG=308992
NOTRY=true

Review URL: https://codereview.chromium.org/209333007

git-svn-id: svn://svn.chromium.org/blink/trunk@169872 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Update image data upon changing the img.crossorigin attribute. (https://codereview.chromium.org/201143002/)

Reason for revert:
The re-issuing of another image load upon setting 'crossorigin' has been reported to cause a site problem (a Google internal site/service.)

Until diagnosed and understood fully, let's back this one out.

Original issue's description:
> Update image data upon changing the img.crossorigin attribute.
> 
> The spec tells us that setting the crossorigin attribute on an img
> element should cause the "update the image data" steps to be invoked,
> 
>  http://www.whatwg.org/specs/web-apps/current-work/#update-the-image-data
> 
> Do so here, along with updating the underlying test's expectation.
> 
> R=
> BUG=341047
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169382

TBR=adamk@chromium.org,abarth@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=341047

Review URL: https://codereview.chromium.org/210403002

git-svn-id: svn://svn.chromium.org/blink/trunk@169874 bbb929c8-8fbe-4397-9dbb-9b2b20218538
.

git-svn-id: svn://svn.chromium.org/blink/trunk@169876 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Shapes] clamp RasterShape shapeMargin to reference box size

Verify that a very large shape-margin value combined with a very small
shape-outside image defines a shape that matches the shape-outside
element's margin-box.

This is a merge of http://trac.webkit.org/changeset/166019 by
Hans Muller <hmuller@adobe.com>.

BUG=354917

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169768

Review URL: https://codereview.chromium.org/208423003

git-svn-id: svn://svn.chromium.org/blink/trunk@169877 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove DisableCompositingQueryAsserts in FV::scrollbarExistenceDidChange

This patch removes a compositing query assert in
FrameView::scrollbarExistenceDidChange because no compositing state is
queried through scrollbarExistenceDidChange.

No new tests.

Review URL: https://codereview.chromium.org/208313016

git-svn-id: svn://svn.chromium.org/blink/trunk@169878 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert r169876 "Remove use of a V8 handle outside of bindings code in TimingInput.cpp."



git-svn-id: svn://svn.chromium.org/blink/trunk@169880 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[repaint-after-layout] Only repaint SVG root element when needed.

With Repaint-After-Layout we would repaint the SVG Root element a lot more
then needed. This ports the check for when to repaint the SVG Root element
into the LayoutRectRecorder to better match what the LayoutRepainting was doing
originally.

BUG=320139

Review URL: https://codereview.chromium.org/208103002

git-svn-id: svn://svn.chromium.org/blink/trunk@169886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove style attribute from SVGElement.idl

This attribute is already present on Element.idl. This change avoids extra bindings code
being written.

Review URL: https://codereview.chromium.org/204983019

git-svn-id: svn://svn.chromium.org/blink/trunk@169887 bbb929c8-8fbe-4397-9dbb-9b2b20218538