[refactor] Use a lookup table rather than binary search for algorithm normalization.

Pros: Uses less space, is faster, and easier to extend with new properties.

Cons: Slightly more difficult to edit.

BUG=245025

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

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