carto/test/rendering/partial_overrides.mss
Tom MacWright 29b641c72d Detect and report basic self-conflicting filters.
This does not yet report anything for more complex cases. We were also testing for
tolerance of self-conflicting filters, which this breaks, in
partial_overrides. This patch may want to wait for warning reporting
since it may break stylesheets in the wild.
2013-01-03 15:06:07 -05:00

36 lines
505 B
Plaintext

#world.m_0 {
line-width: 3;
}
#world.m_1[zoom > 2] {
line-opacity: .2;
}
#world.m_2[zoom > 8] {
line-opacity: .4;
}
#world.m_3[NAME!="Canada"] {
line-width: 5;
}
#world.m_4[NAME="United States"] {
line-color: #f00;
}
#world.m_6[NAME!="Canada"][zoom > 5] {
line-opacity: .7;
}
#world.m_7[NAME!="Canada"][POP > 100000000] {
line-width:20;
}
#world.m_8[NAME="United States"][zoom > 8] {
line-opacity: .5;
}
#world.m_9[NAME="United States"][zoom > 8][zoom < 4] {
line-opacity: .5;
}