On Mon, Jan 24, 2011 at 9:01 AM, Richard Fairhurst <[email protected]> wrote: > Hi all, > > I've added support for CSS @import rules in stylesheets, so you can share > common features between them (even nesting them if you like): > > @import "pois.css"; > @import "interactive.css";
This is great. I maintain a number of p2 styles and keeping the interactive parts synchronised has been a bit of a pain. We've still got some pretty nasty gotchas in the stylesheet handling code - p2 doesn't behave well if the stylesheet in the SharedObject isn't available, or if the stylesheets.xml is missing or has errors. I'll try to make lack-of-stylesheets a fatal problem, but I've also pondered whether we should have compiled-in fallbacks in the same way we now have a compiled-in [?] fallback icon. Cheers, Andy _______________________________________________ Potlatch-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/potlatch-dev
