Changes between Version 194 and Version 195 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2021-08-18T17:49:05+02:00 (4 years ago)
Author:
Hb---
Comment:

Headers shorter. Page title.

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v194 v195  
    11[[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=
     4JOSM's implementation of [osmwiki:MapCSS/0.2 MapCSS] is used for the features:
    45
    56* [wikitr:/Styles Mappaint styles]
     
    822823
    823824
    824 == @supports rule for conditional processing [''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:
    826827{{{
    827828#!mapcss
     
    14661467 * seems to have {{{[tunnel=1]}}} instead of {{{[tunnel=yes]}}} (Halcyon) or {{{[tunnel?]}}} (JOSM)
    14671468
    1468 == Media queries [''since r6970'']  (deprecated) ==
     1469== Media queries (deprecated) ==
    14691470
    14701471{{{#!td style="background-color: #faa"
    14711472Note: media queries are deprecated. You should use @supports rules instead (see above).
    14721473}}}
    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:
     1474Media 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:
    14741475{{{
    14751476#!mapcss