Use new is*Element() helper functions more in web/ code

Use new is*Element() helpers more in web/ code. This makes the code clearer
and simpler.

R=eseidel, adamk, tkent
BUG=346095

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

git-svn-id: svn://svn.chromium.org/blink/trunk@169318 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use new is*Element() helper functions more in bindings/ code

Use new is*Element() helpers more in bindings/ code. This makes the code clearer
and simpler.

R=haraken, adamk
BUG=346095

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

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