Changes between Version 61 and Version 62 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2014-05-29T17:24:25+02:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v61 v62 1073 1073 ==== Grammar ==== 1074 1074 1075 * descendant combinator is not supported, use child combinator instead.1076 * JOSM MapCSS is not liberal with white spaces in the selector, they are only permitted before and after ''comma'' and ''greater sign'' (Grouping and Child combinator).1077 1075 * {{{way[oneway=yes]}}} does not have any magic, you can use {{{way[oneway?]}}} instead 1078 * no stacking of declaration blocks, you have to provide explicit layer names1079 1076 * no {{{@import}}} 1080 1077 * JOSM does not require {{{eval(...)}}} to be wrapped around expressions, but for compatibility with other MapCSS implementations you should write it out. … … 1089 1086 not supported 1090 1087 1091 JOSM uses the MapCSS 0.1 way to specify {{{casing-width}}}, i.e. '''{{{casing-width: 9;}}}''' is an absolute value. You can write '''{{{casing-width: +4;}}}''' to specify a 2px casing on both sides.1092 1093 1088 === Halcyon (Potlatch 2) === 1094 1089 … … 1099 1094 }}} 1100 1095 at the beginning of your style sheet. 1101 * standard z-index seems to be different from 0 (FIXME: what is it?)1096 * standard z-index in Halcyon is 5, but it is 0 in JOSM 1102 1097 * '''{{{image: circle;}}}''' corresponds to '''{{{symbol-shape: circle;}}}''' 1103 1098