public function reverse_left_and_right_4value_shorthands($property, $value) {
		$shorthands = & $this->parser->data['csstidy']['shorthands'];
		if (isset($shorthands[$property])) {
			$property_right = $shorthands[$property][1];
			$property_left = $shorthands[$property][3];
			$v = $this->dissolve_4value_shorthands($property, $value);
			if ($v[$property_left] !== $v[$property_right]) {
				$r = $v[$property_right];
				$v[$property_right] = $v[$property_left];
				$v[$property_left] = $r;
				$v = $this->merge_4value_shorthands($v);
				if (isset($v[$property])) {
					return $v[$property];
				}
			}
		}
		return $value;
	}
public function reverse_left_and_right_4value_shorthands($property, $value) {
		$shorthands = & $this->parser->data['csstidy']['shorthands'];
		if (isset($shorthands[$property])) {
			$property_right = $shorthands[$property][1];
			$property_left = $shorthands[$property][3];
			$v = $this->dissolve_4value_shorthands($property, $value);
			if ($v[$property_left] !== $v[$property_right]) {
				$r = $v[$property_right];
				$v[$property_right] = $v[$property_left];
				$v[$property_left] = $r;
				$v = $this->merge_4value_shorthands($v);
				if (isset($v[$property])) {
					return $v[$property];
				}
			}
		}
		return $value;
	}
public function reverse_left_and_right_4value_shorthands ( $ property , $ value ) { $ shorthands = & $ this -> parser -> data [ 'csstidy' ] [ 'shorthands' ] ; if ( isset ( $ shorthands [ $ property ] ) ) { $ property_right = $ shorthands [ $ property ] [ 1 ] ; $ property_left = $ shorthands [ $ property ] [ 3 ] ; $ v = $ this -> dissolve_4value_shorthands ( $ property , $ value ) ; if ( $ v [ $ property_left ] !== $ v [ $ property_right ] ) { $ r = $ v [ $ property_right ] ; $ v [ $ property_right ] = $ v [ $ property_left ] ; $ v [ $ property_left ] = $ r ; $ v = $ this -> merge_4value_shorthands ( $ v ) ; if ( isset ( $ v [ $ property ] ) ) { return $ v [ $ property ] ; } } } return $ value ; }
Reversing 4 values shorthands properties
@param string $value
@return string
Reversing 4 values shorthands properties