Changes between Version 61 and Version 62 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2014-05-29T17:24:25+02:00 (11 years ago)
Author:
bastiK
Comment:

update compatibility notes

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v61 v62  
    10731073==== Grammar ====
    10741074
    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).
    10771075 * {{{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 names
    10791076 * no {{{@import}}}
    10801077 * JOSM does not require {{{eval(...)}}} to be wrapped around expressions, but for compatibility with other MapCSS implementations you should write it out.
     
    10891086  not supported
    10901087
    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 
    10931088=== Halcyon (Potlatch 2) ===
    10941089
     
    10991094}}}
    11001095 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
    11021097 * '''{{{image: circle;}}}''' corresponds to '''{{{symbol-shape: circle;}}}'''
    11031098