On Sat, Jan 31, 2009 at 12:22:19PM +0100, Marc Schütz wrote: > > Why is nesting such a bad thing? > > > > I think nesting is only the sympton. The problem is that bridge/tunnel/etc. > should be treatible as independent of all the other tags a particular object > might have, because all bridges should basically look the same. The only > thing > where they differ is the width of the object. But there is no way for a rule > to > know which width it has, without looking at the highway, railway, or whatever > other tags that might be relevant. > > So there are tons of CSS styles, each of which repeats the width information > (railway-rail-bridge-casing, railway-light-rail-bridge-casing, ...) whereas > in > fact just one declaration should suffice, if it could somehow reference the > width of the underlying object. At the same time, it would make a lot of > nesting unnecessary.
Well, the current usage of CSS isn't very good, but hughbris has started cleaning it up, that should help a lot. -- Knut Arne Bjørndal aka Bob Kåre [email protected] bobk...@irc
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
