Make LayoutTests/editing/selection/extend-by-word-002.html platform independent

This patch makes LayoutTests/editing/selection/extend-by-word-002.html platform dependent by using js-test-pre framework rather than render tree dump with pixel dump. 

This patch is preparation of fixing issue 174349 "	Contenteditable with :first-letter styling".
 
BUG=n/a
TEST=n/a

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159078 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't output sessionID in encrypted-media-events.html

Previously, a sessionID was included in the logged output of a testExpected() statement, which caused text diffs when run multiple times (or in a different order). Change the way the test is logged so that the changing sessionID is not included in the output.

BUG=304991

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159079 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Make compositingState explicit"

This reverts
https://src.chromium.org/viewvc/blink?revision=159068&view=revision
which seems to cause bunch of ASSERTION FAILED:
  compositingState() == HasOwnBackingButPaintsIntoAncestor ||
  compositingState() == PaintsIntoOwnBacking
    at RenderLayer.h(473)

TBR=enne@chromium.org
BUG=261605
NOTRY=true

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

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

This defines WebFilterAnimationCurve, needed for sending
filter animations from Blink to cc.

BUG=181613

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159082 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reland Revert "Revert 157959 "Introduce a new reference graph to SVG*TearOffs.""

Reland the patches. All known SVGProperty memory bugs were resolved.

SVGAnimatedListPropertyTearOff::clearAnimatedProperty modified to not detachListWrappers(). "clearAnimatedProperty" is only called from ~SVGElement and the context SVGElement is guaranteed to be alive while a tearoff is alive. There was no need to detachListWrappers to keep the list item tearoffs valid.

BUG=270000
BUG=294464

R=pdr@chromium.org,haraken@chromium.org,inferno@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159083 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make compositingState explicit (re-land with bogus ASSERT removed)

A lot of code uses isComposited() and compositedLayerMapping()
as booleans to check the compositing state of a RenderLayer or
RenderObject. However, in the code there are actually 3 different
states:

(1) not composited (paints into RenderLayerBacking of a
    composited ancestor)
(2) paints into own RenderLayerBacking
(3) has its own RenderLayerBacking but actually still paints
    into composited ancestor.

Furthermore, upcoming changes to compositing will add a
fourth state:

(4) paints into a GraphicsLayer that is shared by a group of
    layers.

This patch removes isComposited() boolean check, and
replaces it with compositingState() that returns an enum.

Most call sites outside of RenderLayer, RenderLayerBacking,
and RenderLayerCompositor have been updated to reflect
what states they really intended to check for.  Remaining call
sites have been replaced with the compositedLayerMapping()
accessor for now, which is exactly equivalent to the old
isComposited() boolean, and those sites will be updated in
follow-up patches.

BUG=261605

Earlier version reverted:
https://src.chromium.org/viewvc/blink?view=rev&revision=159068

R=jamesr@chromium.org, jchaffraix@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159084 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix regression in cutout-rects over NPAPI not working. This was caused by a typo in r157106.

BUG=302381

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159085 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations CSS: Support animation of stroke-dashoffset property

BUG=257591
R=dstockwell

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

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