Changes between Version 120 and Version 121 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2016-11-22T22:56:44+01:00 (9 years ago)
Author:
Klumbumbus
Comment:

typos and formatting

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v120 v121  
    192192
    193193=== Child selector ===
    194 If a node is part of a way, we say that it is a ''child'' of this way. Similarly, if a node, a way, or a relation is a member
    195 of a relation, we say, that it is a ''child'' of this relation.
     194If a node is part of a way, we say that it is a ''child'' of this way. Similarly, if a node, a way, or a relation is a member of a relation, we say, that it is a ''child'' of this relation.
    196195
    197196In MapCSS you can use a '''child selector''' which matches only if both the parent and the child object match.
     
    215214
    216215=== Parent selector ===
    217 In addition to child selectors, JOSMs supports the the notion of a '''parent selector'''. Note, that parent selectors are a
    218 JOSM-specific extension of MapCSS not present in other MapCSS implementations.
    219 
    220 Similar to a child selector, a parent selector only matches if both the parent and the child object match. In contrast to
    221 to the child selector, the character < is used.
     216In addition to child selectors, JOSM supports the notion of a '''parent selector'''. Note, that parent selectors are a JOSM-specific extension of MapCSS not present in other MapCSS implementations.
     217
     218Similar to a child selector, a parent selector only matches if both the parent and the child object match. In contrast to the child selector, the character < is used.
    222219
    223220In contrast to the child selector, the parent object will be "selected". In other words, the properties in the {{{{...}}}}-Declaration Block apply to the object on the right hand side of the "<" sign.
     
    471468}}}
    472469
    473 You can test whether the the value of a tag is logical truth value. The value is evaluated to true, if it is either
     470You can test whether the value of a tag is logical truth value. The value is evaluated to true, if it is either
    474471"yes", "true", or "1". All other values are evaluated to false.
    475472