mapbox/carto — Issue #119: Use `background-color` outside of `Map` context throws odd error
Author: willwhite
Created: 2011-11-11 20:58:47+00:00
State: open

It's easy to accidentally use the `background-color` property instead of the `polygon-fill` property, but when that property is use outside of the context of the `Map` selector, a odd error is thrown in a popup:

Error: Unknown symbolizer 'MapSymbolizer' in style 'countries' in map '/Users/diggersf/Documents/MapBox/project/cartodb/'

I'd expect this error to appear on the invalid line instead:

Rule background-color not allowed for Map.