Merges the current style with the given style, using the given style as a base. This means that:
- if current style and base style both have property A set, use current style property's value
- if current style has property A set but base style does not, use current style property's value
- if base style has property A set but current style does not, use base style property's value
public mergeWith ( |
||
$baseStyle | ||
return | New style corresponding to the merge of the 2 styles |