Hi,
I would expected that the following:

[@scale < 75000] {
  stroke: #7F7F7F;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[@scale > 10000] {
  stroke-width: 2;
}

[@scale < 10000] {
  stroke: #7F7F7F, white;
  stroke-width: 17, 12;
  z-index: 0, 1;
}

would have generated two feature type styles, one of which has rules active
only at scale den < 10000, but instead
it generates just one fts and forgets about the inner white line.

The following one works, but has more repetitions:

[@scale < 75000] [@scale > 10000] {
  stroke: #7F7F7F;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[@scale < 10000] {
  stroke: #7F7F7F, white;
  stroke-width: 17, 12;
  z-index: 0, 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

What do you think, is this a bug in the code, or in my understanding of CSS?

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to