Lines Matching refs:css
102 function parse_css($css, &$pipeline, $baseindex = 0) { argument
107 $len = strlen($css);
108 while (ord($css{$pos}) > 127 && $pos < $len) { $pos ++; };
109 $css = substr($css, $pos);
116 while (preg_match("/^(.*?)@media([^{]+){(.*)$/s",$css,$matches)) {
140 $css = $tail;
144 $this->parse_css_media($css, $pipeline, $baseindex);
158 $css = $data->get_content();
159 if (!empty($css)) {
165 $css = preg_replace('/^\s*<!--/', '', $css);
166 $css = preg_replace('/-->\s*$/', '', $css);
168 $this->parse_css($css, $pipeline);
187 function parse_css_media($css, &$pipeline, $baseindex = 0) { argument
189 $css = preg_replace("#/\*.*?\*/#is","",$css);
192 $css = parse_css_atpage_rules($css, $pipeline);
195 if ($num = preg_match_all("/@import[^;]+;/",$css, $matches, PREG_PATTERN_ORDER)) {
202 $css = preg_replace("/@import[^;]+;/","", $css);
204 while (preg_match("/([^{}]*){(.*?)}(.*)/is", $css, $matches)) {
206 $css = $matches[3];