"background-image" values can only be URIs (http://www.w3.org/TR/css3-background/#the-background-image), so colors are not allowed there. Upstreaming https://code.google.com/p/chromium/issues/detail?id=169742
background-image values can also be gradients, so url(...) checks should be made before the color parsing.
Created attachment 182541 [details] Patch
Comment on attachment 182541 [details] Patch A test?
(In reply to comment #3) > (From update of attachment 182541 [details]) > A test? Landing with a test added.
Committed r139607: <http://trac.webkit.org/changeset/139607>