|
@@ 587-589 (lines=3) @@
|
| 584 |
|
} |
| 585 |
|
// fix for complicated media, i.e @media screen and (-webkit-min-device-pixel-ratio:1.5) |
| 586 |
|
// '/' is included for ratios in Opera: (-o-min-device-pixel-ratio: 3/2) |
| 587 |
|
elseif (in_array($string[$i], array('(', ')', ':', '.', '/'))) { |
| 588 |
|
$this->at .= $string[$i]; |
| 589 |
|
} |
| 590 |
|
} else { |
| 591 |
|
$lastpos = strlen($this->at) - 1; |
| 592 |
|
if (!( (ctype_space($this->at[$lastpos]) || csstidy::is_token($this->at, $lastpos) && $this->at[$lastpos] === ',') && ctype_space($string[$i]))) { |
|
@@ 656-658 (lines=3) @@
|
| 653 |
|
$this->sel_separate[] = strlen($this->selector); |
| 654 |
|
} elseif ($string[$i] === '\\') { |
| 655 |
|
$this->selector .= $this->_unicode($string, $i); |
| 656 |
|
} elseif ($string[$i] === '*' && @in_array($string[$i + 1], array('.', '#', '[', ':'))) { |
| 657 |
|
// remove unnecessary universal selector, FS#147 |
| 658 |
|
} else { |
| 659 |
|
$this->selector .= $string[$i]; |
| 660 |
|
} |
| 661 |
|
} else { |