code: protected boolean checkInherit(int variant, Term<?> term,
  			Map<String, CSSProperty> properties) {
  
  		// check whether term equals inherit
  		if (!(term instanceof TermIdent)
  				|| !CSSProperty.INHERIT_KEYWORD
  						.equalsIgnoreCase(((TermIdent) term).getValue())) {
  			return false;
  		}
  
  		if (variant == ALL_VARIANTS) {
  			for (int i = 0; i < variants; i++) {
  				properties.put(names.get(i), createInherit(i));
  			}
  			return true;
  		}
  
  		properties.put(names.get(variant), createInherit(variant));
  
  		return true;
  	}
docs: Solves variant which leads to <code>inherit</code> CSS Property value.
  This overrides all other possible variants and no other informations are
  allowed per CSS Declaration.
  
  This method is called before check for variants or before variant itself
  is called in one shot way.
  
  Example: <code>margin: inherit</code> is valid value and leads to setting
  of
  <ul>
  <li><code>margin-top: inherit</code></li>
  <li><code>margin-right: inherit</code></li>
  <li><code>margin-bottom: inherit</code></li>
  <li><code>margin-left: inherit</code></li>
  </ul>
  
  <code>margin: 0px inherit</code> is invalid value.
  
  @param variant
  Number of variant or identifier of all variants
  <code>VARIANT_ALL</code>
  @param properties
  Properties map where to store properties types
  @param term
  Term to be checked
  @return <code>true</code> in case of success, <code>false</code>
  otherwise