Home
last modified time | relevance | path

Searched refs:raw_selector (Results 1 – 2 of 2) sorted by path

/plugin/html2pdf/html2pdf/html2ps/
H A Dcss.parse.inc.php99 function parse_css_selector($raw_selector) { argument
102 $raw_selector = strtolower(trim($raw_selector));
105 if (preg_match("/^(\S.*)\s*>\s*([^\s]+)$/", $raw_selector, $matches)) {
113 if (preg_match("/^(\S.*)\s+([^\s]+)$/", $raw_selector, $matches)) {
139 if (preg_match("/^([#\.\s\w_-]*):(\w+)$/", $raw_selector, $matches)) {
159 if (preg_match("/^(\S+)(\.\S+)$/", $raw_selector, $matches)) {
163 switch ($raw_selector{0}) {
165 return array(SELECTOR_ID, substr($raw_selector,1));
167 return array(SELECTOR_CLASS, substr($raw_selector,1));
174 if ($raw_selector === "*") {
[all …]
H A Dcss.rules.page.inc.php200 $raw_selector = trim($matches[1]);
203 $selector =& parse_css_atpage_selector($raw_selector);