private function getPrefixRules( $prop, $val, $extra = null )
  {
    $extra = ( empty( $extra ) ) ? null : ' ' . $extra;
    if( !is_array( $prop ) && is_array( $val ) )
    {
      $properties = array_fill( 0, count( $val ), $prop );
      $values     = $val;
    }
    elseif( !is_array( $val ) && is_array( $prop ) )
    {
      $values     = array_fill( 0, count( $prop ), $val );
      $properties = $prop;
    }
    else
    {
      $properties = $prop;
      $values     = $val;
    }

    $property = null;
    $value    = null;
    do
    {
      $property = ( !empty( $properties ) ) ? array_shift( $properties ) : $property;
      $value    = ( !empty( $values ) ) ? array_shift( $values ) : $property;

      $rules[] = new CssRule( $property, $value, $extra );
    }
    while( !empty( $properties ) && !empty( $values ) );

    return $rules;
  }
private function getPrefixRules( $prop, $val, $extra = null )
  {
    $extra = ( empty( $extra ) ) ? null : ' ' . $extra;
    if( !is_array( $prop ) && is_array( $val ) )
    {
      $properties = array_fill( 0, count( $val ), $prop );
      $values     = $val;
    }
    elseif( !is_array( $val ) && is_array( $prop ) )
    {
      $values     = array_fill( 0, count( $prop ), $val );
      $properties = $prop;
    }
    else
    {
      $properties = $prop;
      $values     = $val;
    }

    $property = null;
    $value    = null;
    do
    {
      $property = ( !empty( $properties ) ) ? array_shift( $properties ) : $property;
      $value    = ( !empty( $values ) ) ? array_shift( $values ) : $property;

      $rules[] = new CssRule( $property, $value, $extra );
    }
    while( !empty( $properties ) && !empty( $values ) );

    return $rules;
  }
private function getPrefixRules ( $ prop , $ val , $ extra = null ) { $ extra = ( empty ( $ extra ) ) ? null : ' ' . $ extra ; if ( ! is_array ( $ prop ) && is_array ( $ val ) ) { $ properties = array_fill ( 0 , count ( $ val ) , $ prop ) ; $ values = $ val ; } elseif ( ! is_array ( $ val ) && is_array ( $ prop ) ) { $ values = array_fill ( 0 , count ( $ prop ) , $ val ) ; $ properties = $ prop ; } else { $ properties = $ prop ; $ values = $ val ; } $ property = null ; $ value = null ; do { $ property = ( ! empty ( $ properties ) ) ? array_shift ( $ properties ) : $ property ; $ value = ( ! empty ( $ values ) ) ? array_shift ( $ values ) : $ property ; $ rules [ ] = new CssRule ( $ property , $ value , $ extra ) ; } while ( ! empty ( $ properties ) && ! empty ( $ values ) ) ; return $ rules ; }
Interpets the given parameters into a set of CSS rules to insert in replacement of the rule being evaluated.

The number of properties and values given will be matched up to the other.  For instance, if one property
is given, it will be duplicated to match the count of the number of values given and vice versa.

@param array|string         $prop    The property or properties to use with the rules.
@param array|string|float   $val     The value or values to use with the rules.
@param string               $extra   Any extra additions to the rules, such as !important

@return array                        The CSS rules to insert
Interpets the given parameters into a set of CSS rules to insert in replacement of the rule being evaluated .