Web Animations CSS: Fix interaction between transitions and animations

This patch fixes how we start and apply transitions in the presence of
animations. As per the CSS Transitions spec[0], we shouldn't start any
transitions after property changes due to CSS Animations. The check is
performed here as [matched animation in this or previous frame], which
is for handling starting/ending animations. Note that this is somewhat
incomplete, as it doesn't handle changing !important values (which are
applied with a higher precedence than animations), but we can't easily
do this with the current style system (the current implementation does
no better).

We also disable applying transition values when animations are running
as per the most recent CSS Transitions spec[1]. Animations that aren't
currently in effect aren't considered here (the spec isn't clear about
if they should be). While the spec only calls out CSS Animations here,
we also consider animations created from the Web Animations JS API.

The implementation details are a bit awkward. Calculating compositable
values is moved to calculateUpdate, and they are now stored as part of
the update. This lets us to get the compositable values for animations
before computing the transitions update and keep one frame of these in
the CSSAnimations object. The transitions CompositableValueMap is also
moved for consistency.

The test change was testing some behaviour that seems incorrect -- the
expected behaviour was to start a transition when e.style.foo changed,
while an animation was running on the same property. This is absurd as
inline styles are lower priority than animations, so they don't affect
the computed values (which transitions start based on).

[0] http://www.w3.org/TR/css3-transitions/#starting
[1] http://dev.w3.org/csswg/css-transitions/#application

BUG=303430

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161237 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Logging accesses to URL-properties of DOM elements, e.g., src.
Logging calls to submit method of Form elements.

This CL allows UMA logging of the following extension activities:
- an extension sets a url property on a DOM element within a page, e.g., 
the extension's content script set src property of an image element.
- an extension's content script calls submit method on a Form element 
within a page. 

BUG=313901,313878

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

git-svn-id: svn://svn.chromium.org/blink/trunk@161238 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations CSS: Use legacy equality function to determine whether to start transitions

Constructing AnimatableValues for the purpose of deciding whether a transition should start was causing a mild performance regression when large numbers of properties were targeted for transition.

This patch reverts to the old-style comparison function from frame/animation, and fixes that regression.

BUG=303430

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

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