Lines Matching refs:css

65   var $css;  variable in CSSAtRulePage
71 $this->css =& new CSSPropertyCollection();
91 $this->css->add_property($property);
97 var $css; variable in CSSAtRuleMarginBox
106 …$css = "-html2ps-html-content: ''; content: ''; width: auto; height: auto; margin: 0; border: none…
107 $css = $css . $this->_getCSSDefaults($selector);
109 $this->css = new CSSRule(array(
111 parse_css_properties($css, $null),
166 $this->css->add_property($property);
170 return $this->css->get_property($code);
184 function parse_css_atpage_rules($css, &$css_ruleset) { argument
185 while (preg_match('/^(.*?)@page(.*)/is', $css, $matches)) {
187 $css = $matches[1].parse_css_atpage_rule(trim($data), $css_ruleset);
189 return $css;
192 function parse_css_atpage_rule($css, &$css_ruleset) { argument
196 if (!preg_match('/^(.*?){(.*)$/is', $css, $matches)) {
198 return $css;
201 $css = trim($matches[2]);
211 while (preg_match('/^(.*?)(;|@|})(.*)$/is', $css, $matches)) {
222 $css = $raw_suffix;
229 $css = parse_css_atpage_margin_box($raw_suffix, $at_rule, $css_ruleset);
246 return $css;
281 function parse_css_atpage_margin_box($css, &$at_rule, &$pipeline) { argument
282 if (!preg_match("/^([-\w]*)\s*{(.*)/is",$css,$matches)) {
284 return $css;
288 $css = trim($matches[2]);
297 while (preg_match('/^(.*?)(;|})(.*)$/is', $css, $matches)) {
308 $css = $raw_suffix;
325 return $css;
328 function parse_css_atpage_margin_box_selector($css) { argument
329 switch ($css) {
367 error_log(sprintf('Unrecognized margin box selector: \'%s\'', $css));
372 function parse_css_atpage_declaration($css, &$at_rule, &$pipeline) { argument
373 $parsed =& parse_css_property($css, $pipeline);
383 function parse_css_atpage_margin_box_declaration($css, &$at_rule, &$pipeline) { argument
384 $parsed =& parse_css_property($css, $pipeline);