Refactoring: Add toHTMLDataListElement, and use it.

We'd like to avoid bare static_cast.

BUG=none
TEST=none; no behavior changes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157102 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactoring: Use existing toHTMLFoo() functions.

 - toHTMLCanvasElement()
 - toHTMLDocument()
 - toHTMLPlugInElement()
 - toHTMLStyleElement()
 - toHTMLTemplateElement()

Also, update toHTMLTemplateElement() so that ASSERT_WITH_SECURITY_IMPLICATION
can be used in !NDEBUG.

BUG=none
TEST=none; no behavior change.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157103 bbb929c8-8fbe-4397-9dbb-9b2b20218538
CSS Animations: Use style.setProperty in interpolation tests

Blink allows style['dashed-name'] but Gecko only style['lowerCamel'],
setProperty allows dashed names in both engines.

NOTRY=true

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

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