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