Implement style invalidation tree walk for targeted style recalc upon class change.

"Style invalidation" is defined as the process of deciding
whether elements need style recalculation, based on the
input of a particular DOM mutation.

When the class changes for an element, a style invalidation
bit is recorded on it. Just before style is subsequently
recomputed on the document, walks the tree to determine
which elements have style invalidation needed, and for those
elements, calls setNeedsStyleRecalc() on the elements of the
element subtree that need it. If we can't figure out which
elements exactly need style recalculation, we fall back on
the whole subtree.

All layout tests pass with and without the runtime flag for
this feature.

BUG=335247

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166247 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations: Add Player::play() and replace setPaused() with unpause()

This adds play() to the Player class as per the expected idl interface
(not yet exposed in this patch though), and replaces setPaused with
unpause, only for use internally and within CSS.

BUG=334926

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166248 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r166244

http://src.chromium.org/viewvc/blink?view=revision&revision=166244

TBR=fmalita@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166249 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove Element.nodeNamePreservingCase

There is no need for this method, we can just use tagQName.

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

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