Remove custom bindings for CSSStyleDeclaration.

Attempt to remove these custom bindings again after 2015's
https://codereview.chromium.org/1119653002 and others.

At the time the CLs were reverted because of performance regressions; I seem
to be unable to trigger the perf trybots myself, so we will need to see if
there is anything to fix after landing.

There was nothing in the custom bindings that really required custom code,
so the existing implementations of the named setter/getter/enumerator/query
were moved almost as-is to CSSStyleDeclaration.cpp.

The local supporting functions were almost untouched as well, except for the
fact that they were moved into an anonymous namespace instead of being made
static, and they all take AtomicString's in their arguments rather than
String's.

Removing these custom bindings helps get rid of named property queries (this
was the only custom named query implementation in the tree), which we need
to do in order to be able to instantiate indexed and named property handlers
the same way and simplify our bindings code.

Bug: 345519, 764633

Change-Id: I76171bb4c2ae23fc672748dc11b26094f16e573e
Reviewed-on: https://chromium-review.googlesource.com/984232
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Cr-Commit-Position: refs/heads/master@{#547683}
5 files changed