@@ 581-583 (lines=3) @@ | ||
578 | } |
|
579 | // fix for complicated media, i.e @media screen and (-webkit-min-device-pixel-ratio:1.5) |
|
580 | // '/' is included for ratios in Opera: (-o-min-device-pixel-ratio: 3/2) |
|
581 | elseif (in_array($string{$i}, array('(', ')', ':', '.', '/'))) { |
|
582 | $this->at .= $string{$i}; |
|
583 | } |
|
584 | } else { |
|
585 | $lastpos = strlen($this->at) - 1; |
|
586 | if (!( (ctype_space($this->at{$lastpos}) || csstidy::is_token($this->at, $lastpos) && $this->at{$lastpos} === ',') && ctype_space($string{$i}))) { |
|
@@ 650-652 (lines=3) @@ | ||
647 | $this->sel_separate[] = strlen($this->selector); |
|
648 | } elseif ($string{$i} === '\\') { |
|
649 | $this->selector .= $this->_unicode($string, $i); |
|
650 | } elseif ($string{$i} === '*' && @in_array($string{$i + 1}, array('.', '#', '[', ':'))) { |
|
651 | // remove unnecessary universal selector, FS#147 |
|
652 | } else { |
|
653 | $this->selector .= $string{$i}; |
|
654 | } |
|
655 | } else { |