[Geoserver-devel] [jira] Created: (GEOS-4128) Order matters in selectors when it shouldn't

Order matters in selectors when it shouldn't
--------------------------------------------

                 Key: GEOS-4128
                 URL: http://jira.codehaus.org/browse/GEOS-4128
             Project: GeoServer
          Issue Type: Bug
          Components: CSS
    Affects Versions: 2.0.2
         Environment: tomcat, fedora 2.0-snapshot
            Reporter: Ian Turton
            Assignee: Andrea Aime
            Priority: Minor

If I create a style like:

/* @title Residential Road*/
[@scale < 100000] [highway='residential'],
[@scale < 100000] [highway='unclassified'] {
stroke: grey, white;
stroke-width: 3px, 1px;
stroke-z-index: 0, 6;
}

The unclassified roads are not drawn but if I do

/* @title Residential Road*/
[@scale < 100000] [highway='residential'],
[highway='unclassified'] [@scale < 100000] {
stroke: grey, white;
stroke-width: 3px, 1px;
stroke-z-index: 0, 6;
}

then they are drawn.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira