Unify handling of <color> for SVG/non-SVG properties

Stop resolving system colors and "basic" named colors at parse time, and
instead resolve them when resolving style.
Implementation-wise this means getting rid of
CSSPropertyParser::parseSVGColor in favor of parseColor, and similarly
get rid of convertSVGColor in favor of convertColor on the style
resolver side.

Changes behavior for "basic" color names and system colors (as well as
some proprietary/internal keywords). New behavior matches Gecko.

BUG=370830,505410

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

git-svn-id: svn://svn.chromium.org/blink/trunk@198199 bbb929c8-8fbe-4397-9dbb-9b2b20218538
9 files changed
tree: 0af0c096be48e1c17451c7d152084b7d5028f875
  1. third_party/