function sanitizeHistorySensitive(blockOfProperties) {
    var elide = false;
    for (var i = 0, n = blockOfProperties.length; i < n-1; ++i) {
      var token = blockOfProperties[i];
      if (':' === blockOfProperties[i+1]) {
        elide = !(cssSchema[token].cssPropBits & CSS_PROP_BIT_ALLOWED_IN_LINK);
      }
      if (elide) { blockOfProperties[i] = ''; }
      if (';' === token) { elide = false; }
    }
    return blockOfProperties.join('');
  }
/**
   * Given a series of sanitized tokens, removes any properties that would
   * leak user history if allowed to style links differently depending on
   * whether the linked URL is in the user's browser history.
   * @param {Array.<string>} blockOfProperties
   */
Given a series of sanitized tokens, removes any properties that would
leak user history if allowed to style links differently depending on
whether the linked URL is in the user's browser history.
Given a series of sanitized tokens removes any properties that would leak user history if allowed to style links differently depending on whether the linked URL is in the user ' s browser history .
function sanitizeHistorySensitive(blockOfProperties) {
    var elide = false;
    for (var i = 0, n = blockOfProperties.length; i < n-1; ++i) {
      var token = blockOfProperties[i];
      if (':' === blockOfProperties[i+1]) {
        elide = !(cssSchema[token].cssPropBits & CSS_PROP_BIT_ALLOWED_IN_LINK);
      }
      if (elide) { blockOfProperties[i] = ''; }
      if (';' === token) { elide = false; }
    }
    return blockOfProperties.join('');
  }
function sanitizeHistorySensitive ( blockOfProperties ) { var elide = false ; for ( var i = 0 , n = blockOfProperties . length ; i < n - 1 ; ++ i ) { var token = blockOfProperties [ i ] ; if ( ':' === blockOfProperties [ i + 1 ] ) { elide = ! ( cssSchema [ token ] . cssPropBits & CSS_PROP_BIT_ALLOWED_IN_LINK ) ; } if ( elide ) { blockOfProperties [ i ] = '' ; } if ( ';' === token ) { elide = false ; } } return blockOfProperties . join ( '' ) ; }
Given a series of sanitized tokens, removes any properties that would
 leak user history if allowed to style links differently depending on
 whether the linked URL is in the user's browser history.
Given a series of sanitized tokens removes any properties that would leak user history if allowed to style links differently depending on whether the linked URL is in the user ' s browser history .