The WebVTT parsing algorithm allows empty cue text

Adjust tests:
  tc027-empty-cue - PASS -> FAIL, because opposite assumptions
  opera/track/webvtt/parsing:newlines.vtt - one more cue (empty) observed
  opera/interfaces/TextTrackCue/text.html - FAIL -> PASS

(The newlines.vtt file is truncated compared to the
original/upstream version, so chose to update the
expected result rather than modifying the test. Aim to
update the testfile at a later point.)

BUG=305317

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161924 bbb929c8-8fbe-4397-9dbb-9b2b20218538
MutationObserver: Align validation of observe options to the spec

The spec now allows leaving out attributes when attributeOldValue
or attributeFilter. Same goes for characterData and
characterDataOldValue.

The errors should be TypeErrors and not SyntaxErrors (this is not
syntax).

http://dom.spec.whatwg.org/#dom-mutationobserver-observe

BUG=314632

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move MediaStreamComponent to platform/

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark virtual animation tests as flaky

BUG=318777
TBR=steveblock@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: follow up to r161921, fix brush up memory sidebar.

TBR=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
inspector/editor/text-editor-reveal-line.html is still incorrect on XP

Removed from TestExpectations in r161867 however is still incorrect on XP.

TBR=eseidel@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161929 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Breaking the dependency of FilterOperations on core/fetch.

External SVG CSS filters require tracking of loaded resources, which adds
a dependency on core/fetch in platform/graphics/filters. This patch moves
the tracking of DocumentResourceRequests to ReferenceFilterBuilder (the
class that uses them) and modifies other call sites to set and clear them.

R=senorblanco@chromium.org, abarth, senorblanco
BUG=303334

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Minor adjustment to WebVTT tests

Do a trivial adjustment to the tc029-timings-whitespace test to make
it robust against the spec. change that disallows --> in cue text.

Fix test opera/interfaces/TextTrackCue/vertical.html to it possible
to pass it (the expected result is still FAIL), by adding a linebreak.

BUG=305317

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161931 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable the newlines.vtt WebVTT parsing test

To be enabled after re-importing with the correct (mixed) line endings.

BUG=318734

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move SVGRenderingContext::createImageBufferForPattern to ImageBuffer

SVGRenderingContext::createImageBufferForPattern is used in both
platform and in the SVG code, so it can move to ImageBuffer.

BUG=303332
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161933 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Updating WebM canPlayType Layout Tests to check VP9

Updating the Layout Tests for WebM canPlayType to make sure vp9
returns "probably"

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Have NodeTraversal::nextSkippingChildren() take a reference

Have NodeTraversal::nextSkippingChildren() take a reference instead of a pointer
as it expects the pointer to be non-null. This makes the code look safer and is
consistent with NodeTraversal::next().

R=adamk

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disallow use of the UserGestureIndicator outside of the main thread.

Dedicated workers touch code paths that create UserGestureIndicators,
e.g. when creating DOM timers. However, there will never be a real user
gesture on a background thread, and it shouldn't interfere with the
state of the foreground thread, so we just make those
UserGestureIndicators no-ops

BUG=318249
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move ParallelJobs to filters and rewrite it on top of blink threads

To plan is to move those filters to SkiaImageFilters at which point
we can delete ParallelJobs.

BUG=301537
R=abarth@chromium.org,senorblanco@chromium.org,jamesr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: screencast: request image in dip, not css for high zoom factors.

R=kaznacheev@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161938 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Process treeBoundaryCrossingRules in a post-step outside of RuleData.

This is another step in making it so that RuleSets
don't need to know about scoping nodes or StyleResolvers.

Unfortunately, TreeBoundaryCrossingRules::addRule needs to take
a non-const ContainerNode*, which meant I had to remove the const
qualifiers from a bunch of places.

BUG=311669

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161939 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't disable fast checking selectors in RuleSet.

RuleSets will soon be shared across CSSStyleSheets, so they can't
know about scoping nodes. Instead, make the disabling of
fast check selector inside scopes closer to the code that
disables it. Selector checking always needs to know about scopes,
so, this is somewhat less of a layering violation.

BUG=311669

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Re-import newlines.vtt with the correct (mixed) line endings

Done using svn propset svn:mime-type application/octet-stream
and re-importing from
https://github.com/w3c/web-platform-tests/blob/c846444243f5a24224d63750253b7a4aed6f9408/old-tests/submission/Opera/media/track/webvtt/parsing/support/newlines.vtt

BUG=318734


git-svn-id: svn://svn.chromium.org/blink/trunk@161941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Inspector does not cause style recalc after element.style changes that didn't cause style invalidation.

This problem was caused because isInlineStyle parameter had incorrect value in InspectorCSSAgent::didMutateStyles
when element.style changes did not cause style invalidation (e.g. after element.style.visibility='' for the element
that didn't have style.visibility set before).
This happened because s_shouldNotifyInspector flag in PropertySetCSSStyleDeclaration is not set to true in this case.

R=apavlov, pfeldman, eseidel
CC=lushnikov
BUG=318491

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161942 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "StyleResolverParentPusher can decide if it needs to push at creation time"

This commit reverts http://src.chromium.org/viewvc/blink?view=revision&revision=161770

Previously we'd never push the bloom filter for Elements that contained only
Text nodes, but r161770 made us start doing that. Apparently the bloom filter
updating is expensive: 8-10% more than just regular text style updating since
text doesn't need to selector match and the bloom filter is just wasted work.

BUG=318660
TBR=leviw@chromium.org

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

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