Changes between Version 194 and Version 195 of Help/Styles/MapCSSImplementation
- Timestamp:
- 2021-08-18T17:49:05+02:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v194 v195 1 1 [[TranslatedPages]] 2 [[PageOutline(1-10,Table of Contents)]] 3 This page documents details on JOSM's [osmwiki:MapCSS/0.2 MapCSS] implementation. This is used for the following features in JOSM: 2 [[PageOutline(2-10,Table of Contents)]] 3 = MapCSS Implementation= 4 JOSM's implementation of [osmwiki:MapCSS/0.2 MapCSS] is used for the features: 4 5 5 6 * [wikitr:/Styles Mappaint styles] … … 822 823 823 824 824 == @supports rule for conditionalprocessing[''since r8087'']==825 @supports rules are used to skip a section of the style under certain conditions. Typically you want to use a feature which is introduced in a newer version of JOSM, but like to have a fall back style for users of older JOSM clients. Example: 825 === @supports Conditional Processing === 826 @supports rules are used to skip a section of the style under certain conditions. Typically you want to use a feature which is introduced in a newer version of JOSM, but like to have a fall back style for users of older JOSM clients. This feature came with r8087. Example: 826 827 {{{ 827 828 #!mapcss … … 1466 1467 * seems to have {{{[tunnel=1]}}} instead of {{{[tunnel=yes]}}} (Halcyon) or {{{[tunnel?]}}} (JOSM) 1467 1468 1468 == Media queries [''since r6970''](deprecated) ==1469 == Media queries (deprecated) == 1469 1470 1470 1471 {{{#!td style="background-color: #faa" 1471 1472 Note: media queries are deprecated. You should use @supports rules instead (see above). 1472 1473 }}} 1473 Media queries are used to skip a section of the style under certain conditions. Typically you want to use a feature which is introduced in a newer version of JOSM, but like to have a fall back style for users of older JOSM clients. Example: 1474 Media queries are used to skip a section of the style under certain conditions. Typically you want to use a feature which is introduced in a newer version of JOSM, but like to have a fall back style for users of older JOSM clients. This feature came with r6970. Example: 1474 1475 {{{ 1475 1476 #!mapcss
