Remove ENABLE(SVG) from bindings/

This patch removes ENABLE(SVG) checks from the v8 bindings
after r150362 disabled support for SVG-less builds.

BUG=240006
TBR=abarth@chromium.org

Review URL: https://chromiumcodereview.appspot.com/15338005

git-svn-id: svn://svn.chromium.org/blink/trunk@150707 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Skia] Graphics context uses stroke style from previous renderings

Fixes an issue where previous stroke styles were used for painting
decorations.

BUG=229579

Review URL: https://chromiumcodereview.appspot.com/15496002

git-svn-id: svn://svn.chromium.org/blink/trunk@150708 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't force layout for mouse event hit tests

Before the initial document layout, we shouldn't force a layout for
mouse events, because they are not intended for the new document anyway -
the user can't see the document yet! Just ignore those events by making
the hit tests match nothing.

Otherwise, the hit test would force a layout, which is undesirable
because that leads to a flash of an empty document.

BUG=1373
R=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150709 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Addding support for the background-blend-mode CSS property.

The patch forwards the background blend modes from WebCore to Skia, enabling background images to blend between themeselves.

Added 3 pixel tests. The first two, effect-background-blend-mode and effect-background-blend-mode-stacking are just readded after being removed in CL 149989. They were removed because they failed, since background blend mode was not implemented, and TestExpectations entries were ignored.

The effect-background-blend-mode-tiled test is new, and causes Image::drawPattern to be called (since the other background blending tests did not go through that function).

Add logic to override the acceleratedCompositingEnabled setting on testRunner through the WebKitAcceleratedCompositingEnabled key. This was necessary because blending was rendered in software in Skia until not long ago, and there was no hardware path available.

R=eric@chromium.org
BUG=229166

Review URL: https://chromiumcodereview.appspot.com/14208013

git-svn-id: svn://svn.chromium.org/blink/trunk@150710 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Include bug entries in the results json.

This is so we can show bugs in the flakiness dashboard.
The bulk of this change is making it so that we stop storing the legacy
BUGXXX format in test_expectations and actually store the direct entry
from the TestExpectations line. We should move all this code over
to using the new syntax, but doing it for the bug entries is a good first
step.

Review URL: https://chromiumcodereview.appspot.com/15422003

git-svn-id: svn://svn.chromium.org/blink/trunk@150711 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[css3-text] Add support for text decoration styles

Adds support for text decoration styles to be rendered in Skia, in
particular styles "dotted" and "dashed" which requires not just filling
but also stroking setup.

BUG=159835

Review URL: https://chromiumcodereview.appspot.com/15490005

git-svn-id: svn://svn.chromium.org/blink/trunk@150712 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ShadowRoot should not call recalcStyle outside document level recalcStyle

Document::recalcStyle does lots of setup for painting, event scheduling and also sets
the inStyleRecalc flag so code knows we're in the middle of a style recalc.

Review URL: https://chromiumcodereview.appspot.com/15406002

git-svn-id: svn://svn.chromium.org/blink/trunk@150713 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Also add forced layouts to a new test

Followup to http://crrev.com/14859016

BUG=1373
TBR=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@150714 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Cleaning up Editor composition related methods.

Renaming Editor::setComposition(const String& text, SetCompositionMode mode)
to Editor::finishComposition(const String& text, FinishCompositionMode mode)
This call is only used to cancel or confirm composition, the compositionNode
is always cleared.

Moved Editor::getCompositionSelection() code to
Editor::cancelCompsitionIfSelectionIsInvalid() as it is the only caller.

Added comments to the calls calling finishComposition().

Review URL: https://chromiumcodereview.appspot.com/15343003

git-svn-id: svn://svn.chromium.org/blink/trunk@150715 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Don't force layout for mouse event hit tests"

This reverts commit c7cb8114b1071115521af0286a2dbfedb22b5e5f.
also reverts 02e89444b7cb08bc9fae08956ae361ec4d03ac19

Reverting because I somehow missed some tests

BUG=1373
TBR=ojan@chromium.org

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

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